Date: Mon, 19 Jan 2004 14:07:59 -0800 (PST) From: Martin Blapp <mbr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/isc-dhcp FREEBSD-upgrade src/contrib/isc-dhcp/client dhclient.c Message-ID: <200401192207.i0JM7xDk051249@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401192207.i0JM7xDk051249>