cvs commit: src/contrib/isc-dhcp FREEBSD-upgrade
src/contrib/isc-dhcp/client dhclient.c
Martin Blapp
mbr at FreeBSD.org
Mon Jan 19 14:08:00 PST 2004
mbr 2004/01/19 14:07:59 PST
FreeBSD src repository
Modified files:
contrib/isc-dhcp FREEBSD-upgrade
contrib/isc-dhcp/client dhclient.c
Log:
If we have a working link again after connectivity loss, or if we need
to renew a lease, contact the dhcp-server directly instead of using
INADDR_BROADCAST all the time. This should fix some brain-dead dhcp
server implementations which give you all the time a new IP if the
lease has not yet expired.
Instead of using ICMP to check if the server is alive, we just check
the return value of sendto() and additionally have a timeout there.
Revision Changes Path
1.19 +1 -0 src/contrib/isc-dhcp/FREEBSD-upgrade
1.35 +27 -4 src/contrib/isc-dhcp/client/dhclient.c
More information about the cvs-all
mailing list