diff options
author | Rob Landley | 2005-08-13 01:10:27 +0000 |
---|---|---|
committer | Rob Landley | 2005-08-13 01:10:27 +0000 |
commit | be3dae145f71b583f2c975d8dcdc10d9dad2268a (patch) | |
tree | 4bcd50be61a1945e41eabd59d645d398fc038522 /busybox/networking/udhcp/clientpacket.c | |
parent | 6022fc8723c4bfaf055011db33f69565fa0c82b1 (diff) | |
download | busybox-be3dae145f71b583f2c975d8dcdc10d9dad2268a.zip busybox-be3dae145f71b583f2c975d8dcdc10d9dad2268a.tar.gz |
Makefile related backports:
10945, 10946 Make compile much, much faster.
10923 big makefile change. Nervous.
10946, 10991, 10998, 11003 small makefile fixes.
Diffstat (limited to 'busybox/networking/udhcp/clientpacket.c')
-rw-r--r-- | busybox/networking/udhcp/clientpacket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/busybox/networking/udhcp/clientpacket.c b/busybox/networking/udhcp/clientpacket.c index ec96601..a0e8ccf 100644 --- a/busybox/networking/udhcp/clientpacket.c +++ b/busybox/networking/udhcp/clientpacket.c @@ -76,7 +76,8 @@ static void init_packet(struct dhcpMessage *packet, char type) init_header(packet, type); memcpy(packet->chaddr, client_config.arp, 6); - add_option_string(packet->options, client_config.clientid); + if (client_config.clientid) + add_option_string(packet->options, client_config.clientid); if (client_config.hostname) add_option_string(packet->options, client_config.hostname); add_option_string(packet->options, (uint8_t *) &vendor_id); } |