commit | 73121c3c8c28d299280a2f1360e038e93f0b254f | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sun Feb 01 00:40:45 2009 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sun Feb 01 00:40:45 2009 +0000 |
tree | dd021a127aa19bccfceb9a2894bcc76aea01a636 | |
parent | 49325969e75dd85366d9a149625f75c323163723 [diff] |
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