cvs commit: src/sbin/dhclient dhclient.c

Brooks Davis brooks at one-eyed-alien.net
Tue Jun 7 16:54:11 GMT 2005


On Tue, Jun 07, 2005 at 06:02:27PM +0200, Dag-Erling Smørgrav wrote:
> Brooks Davis <brooks at FreeBSD.org> writes:
> >   Log:
> >   Fix build on 64-bit platforms where time_t is 64 bit.  Since where
> >   talking about time related to leases, it should be OK to cast these to
> >   (int)s rather than using intmax_t.
> 
> that'll break in a little less than 33 years.

No, its reporting a number of seconds remaining, not the time at
which the leases end.  Any one with 60+ year IP leases will undoubitly
have other problems like the caps in their power supplies drying out
and shorting. :)

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050607/a20922b3/attachment.bin


More information about the cvs-src mailing list