diff options
Diffstat (limited to 'networking/udhcp/packet.c')
-rw-r--r-- | networking/udhcp/packet.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c index ad0028bd0..fc2bb5416 100644 --- a/networking/udhcp/packet.c +++ b/networking/udhcp/packet.c | |||
@@ -41,7 +41,7 @@ void FAST_FUNC udhcp_dump_packet(struct dhcp_packet *packet) | |||
41 | return; | 41 | return; |
42 | 42 | ||
43 | bb_error_msg( | 43 | bb_error_msg( |
44 | //"op %x" | 44 | //" op %x" |
45 | //" htype %x" | 45 | //" htype %x" |
46 | " hlen %x" | 46 | " hlen %x" |
47 | //" hops %x" | 47 | //" hops %x" |
@@ -52,7 +52,6 @@ void FAST_FUNC udhcp_dump_packet(struct dhcp_packet *packet) | |||
52 | " yiaddr %x" | 52 | " yiaddr %x" |
53 | " siaddr %x" | 53 | " siaddr %x" |
54 | " giaddr %x" | 54 | " giaddr %x" |
55 | //" chaddr %s" | ||
56 | //" sname %s" | 55 | //" sname %s" |
57 | //" file %s" | 56 | //" file %s" |
58 | //" cookie %x" | 57 | //" cookie %x" |
@@ -68,14 +67,13 @@ void FAST_FUNC udhcp_dump_packet(struct dhcp_packet *packet) | |||
68 | , packet->yiaddr | 67 | , packet->yiaddr |
69 | , packet->siaddr_nip | 68 | , packet->siaddr_nip |
70 | , packet->gateway_nip | 69 | , packet->gateway_nip |
71 | //, packet->chaddr[16] | ||
72 | //, packet->sname[64] | 70 | //, packet->sname[64] |
73 | //, packet->file[128] | 71 | //, packet->file[128] |
74 | //, packet->cookie | 72 | //, packet->cookie |
75 | //, packet->options[] | 73 | //, packet->options[] |
76 | ); | 74 | ); |
77 | *bin2hex(buf, (void *) packet->chaddr, sizeof(packet->chaddr)) = '\0'; | 75 | *bin2hex(buf, (void *) packet->chaddr, sizeof(packet->chaddr)) = '\0'; |
78 | bb_error_msg("chaddr %s", buf); | 76 | bb_error_msg(" chaddr %s", buf); |
79 | } | 77 | } |
80 | #endif | 78 | #endif |
81 | 79 | ||