From 2c34983afcb0d9fa8710357f52b695c0f87f1e8d Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 6 Sep 2005 22:08:54 +0000 Subject: [PATCH] Retrieve hostname from dhcp too --- commands/dhcpd/dhcpd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/dhcpd/dhcpd.c b/commands/dhcpd/dhcpd.c index 19b0b2c47..b83d696c3 100755 --- a/commands/dhcpd/dhcpd.c +++ b/commands/dhcpd/dhcpd.c @@ -862,7 +862,8 @@ int main(int argc, char **argv) if (np->renew <= now) { u8_t type; static u8_t taglist[] = { - DHCP_TAG_NETMASK, DHCP_TAG_GATEWAY, DHCP_TAG_DNS + DHCP_TAG_NETMASK, DHCP_TAG_GATEWAY, DHCP_TAG_DNS, + DHCP_TAG_HOSTNAME }; u8_t ethclid[1+DHCP_HLEN_ETH];