]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the output of very large rebind, renew and lease time options in
authorn_hibma <n_hibma@FreeBSD.org>
Sun, 7 May 2017 21:11:28 +0000 (21:11 +0000)
committern_hibma <n_hibma@FreeBSD.org>
Sun, 7 May 2017 21:11:28 +0000 (21:11 +0000)
commitc9550acb7ce07715bc525466b3106632c836eadc
treea41f716388fed7fee41c287ece95b57c319d394f
parent1260ccd59c40788552b3a84a25bff3822f6438de
Fix the output of very large rebind, renew and lease time options in
lease file.

Some routers set very large values for rebind time (Netgear) and these
are erroneously reported as negative in the leasefile. This was due to a
wrong printf format specification of %ld for an unsigned long on 32-bit
platforms.
sbin/dhclient/options.c