From: Ben Gras Date: Tue, 6 Sep 2005 22:08:54 +0000 (+0000) Subject: Retrieve hostname from dhcp too X-Git-Tag: v3.1.0~173 X-Git-Url: http://zhaoyanbai.com/repos/ddns-confgen.html?a=commitdiff_plain;h=2c34983afcb0d9fa8710357f52b695c0f87f1e8d;p=minix.git Retrieve hostname from dhcp too --- 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];