diff options
author | Denys Vlasenko | 2009-07-03 16:59:59 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-07-03 16:59:59 +0200 |
commit | 7895b91743702497efc179a4fe30808e49c67977 (patch) | |
tree | 0327d8d61ba0c145c812ecdc99cfca603aeb451a /networking/udhcp/clientpacket.c | |
parent | c3b6f2c7e1f065fb7e57d2dddc238d433e016e1f (diff) | |
download | busybox-7895b91743702497efc179a4fe30808e49c67977.zip busybox-7895b91743702497efc179a4fe30808e49c67977.tar.gz |
udhcp: dname_dec may return NULL, account for that case
Other random cleanips included...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/clientpacket.c')
-rw-r--r-- | networking/udhcp/clientpacket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c index 21c1a7b..84a6765 100644 --- a/networking/udhcp/clientpacket.c +++ b/networking/udhcp/clientpacket.c @@ -166,7 +166,7 @@ int FAST_FUNC send_select(uint32_t xid, uint32_t server, uint32_t requested) } -/* Unicasts or broadcasts a DHCP renew message */ +/* Unicast or broadcast a DHCP renew message */ int FAST_FUNC send_renew(uint32_t xid, uint32_t server, uint32_t ciaddr) { struct dhcp_packet packet; @@ -186,7 +186,7 @@ int FAST_FUNC send_renew(uint32_t xid, uint32_t server, uint32_t ciaddr) } -/* Unicasts a DHCP release message */ +/* Unicast a DHCP release message */ int FAST_FUNC send_release(uint32_t server, uint32_t ciaddr) { struct dhcp_packet packet; |