summaryrefslogtreecommitdiff
path: root/networking/udhcp/clientpacket.c
diff options
context:
space:
mode:
authorMike Frysinger2004-12-06 14:59:45 +0000
committerMike Frysinger2004-12-06 14:59:45 +0000
commitd824853de335d969f4d009f445bb6dfb1b18493b (patch)
treede7b963864e86c6012fb8da1fb64ab780e906af5 /networking/udhcp/clientpacket.c
parentdcc286607c83723f2b05f91da0a6942999576106 (diff)
downloadbusybox-d824853de335d969f4d009f445bb6dfb1b18493b.zip
busybox-d824853de335d969f4d009f445bb6dfb1b18493b.tar.gz
merge from udhcp module
Diffstat (limited to 'networking/udhcp/clientpacket.c')
-rw-r--r--networking/udhcp/clientpacket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c
index ec96601..c5e1c21 100644
--- a/networking/udhcp/clientpacket.c
+++ b/networking/udhcp/clientpacket.c
@@ -78,6 +78,7 @@ static void init_packet(struct dhcpMessage *packet, char type)
memcpy(packet->chaddr, client_config.arp, 6);
add_option_string(packet->options, client_config.clientid);
if (client_config.hostname) add_option_string(packet->options, client_config.hostname);
+ if (client_config.fqdn) add_option_string(packet->options, client_config.fqdn);
add_option_string(packet->options, (uint8_t *) &vendor_id);
}