diff options
Diffstat (limited to 'networking/udhcp/packet.c')
-rw-r--r-- | networking/udhcp/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c index 911bd3b37..d53c02dd5 100644 --- a/networking/udhcp/packet.c +++ b/networking/udhcp/packet.c | |||
@@ -78,7 +78,7 @@ void FAST_FUNC udhcp_dump_packet(struct dhcp_packet *packet) | |||
78 | //, packet->cookie | 78 | //, packet->cookie |
79 | //, packet->options[] | 79 | //, packet->options[] |
80 | ); | 80 | ); |
81 | bin2hex(buf, (void *) packet->chaddr, sizeof(packet->chaddr)); | 81 | *bin2hex(buf, (void *) packet->chaddr, sizeof(packet->chaddr)) = '\0'; |
82 | bb_info_msg(" chaddr %s", buf); | 82 | bb_info_msg(" chaddr %s", buf); |
83 | } | 83 | } |
84 | #endif | 84 | #endif |