CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2014/11/01 09:49:07
Modified files: sbin/dhclient : convert.c dhclient.c dhcpd.h Log message: Try to ensure that the various lease timeouts are sane. i.e., renew is before rebind is before expiry. Don't allow lease expiry to be set past the end of time, but do allow lease lengths >INT32_MAX. Tweak default times to be more reliably in-line with RFCs. Nuke getULong(), the last function in convert.c, since its last uses were in this now re-written code. Suspicions aroused while diagnosing the expiry problem weerd@ found.