Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2005 21:21:38 +1000
From:      Sean Winn <sean@gothic.net.au>
To:        freebsd-current@freebsd.org
Subject:   While on regressions of OpenBSD's dhclient...
Message-ID:  <e90f4cdfab424cad45679fcc881d21a2@gothic.net.au>

next in thread | raw e-mail | index | archive | help
Handling of hostnames sent by the DHCP server has gone back to the  
buggy handling of dhclient 2.x

Hostnames like ....


Hostname sent via ISC dhcpd 3.x: dhcp194.private.gothic.net.au
         Used on FreeBSD 4.x, 5.x system: dhcp194.private.gothic.net.au
         Used on FreeBSD CURRENT (probably RELENG_6):  
64:68:63:70:31:39:34:2e:70:72:69:76:61:74:65:2e:67:6f:74:68:69:63:2e: 
6e:65:74:2e:61:75:0

See bin/83468

Basically, pretty_print_option() gets upset over the trailing NUL.  
Whether the server should be sending the NUL, or the client ignoring  
it, I don't know, but later versions of ISC dhclient do have a fix and  
that's attached to the PR

There's still the underlying problem that if the lease changes hostname  
while dhclient is running, dhclient won't change the hostname, but  
that's a common fault in both dhclient versions.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e90f4cdfab424cad45679fcc881d21a2>