diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-01 00:40:45 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-01 00:40:45 +0000 |
commit | 73121c3c8c28d299280a2f1360e038e93f0b254f (patch) | |
tree | dd021a127aa19bccfceb9a2894bcc76aea01a636 /applets | |
parent | 49325969e75dd85366d9a149625f75c323163723 (diff) | |
download | busybox-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 'applets')
0 files changed, 0 insertions, 0 deletions