aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-01 00:40:45 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-01 00:40:45 +0000
commit73121c3c8c28d299280a2f1360e038e93f0b254f (patch)
treedd021a127aa19bccfceb9a2894bcc76aea01a636 /networking/udhcp/common.c
parent49325969e75dd85366d9a149625f75c323163723 (diff)
downloadbusybox-73121c3c8c28d299280a2f1360e038e93f0b254f.tar.gz
dhcpd,dumpleases: write and use 64-bit current time in lease file.
without it, determination of remaining lease time is unreliable. Yes, it's costly in code size, but without it, dumpleases output is misleading! function old new delta read_leases 143 282 +139 dumpleases_main 447 572 +125 write_leases 193 233 +40 hton64 29 58 +29 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 333/0) Total: 333 bytes
Diffstat (limited to 'networking/udhcp/common.c')
0 files changed, 0 insertions, 0 deletions