luci/modules
Cody R. Brown 0f35de886c luci-base: luci.tools.status: properly parse infinite dnsmasq leases
The expiry time in a dnsmasq lease file line may be 0 (i.e.
expiry date = 01/01/1970 00:00:00 GMT) to denote an infinite
lease time, so adjust the code to properly support that.

The expiry attribute of the lease object will be set to "false"
in case of an infinite lease. This is to mimic the odhcp code below.
If the expiry date is not equal to 0, then just do exactly what was
done before (return the os.diff of current time and ts).

Signed-off-by: Cody R. Brown <dev@codybrown.ca>
2017-01-23 09:37:10 +02:00
..
luci-base luci-base: luci.tools.status: properly parse infinite dnsmasq leases 2017-01-23 09:37:10 +02:00
luci-mod-admin-full Merge pull request #953 from musashino205/mount-fix-disp 2017-01-16 10:45:20 -05:00
luci-mod-admin-mini luci-mod-admin-{full,mini}: make more distro agnostic 2016-12-10 14:12:37 +02:00
luci-mod-failsafe luci-mod-failsafe: use same string as luci-mod-admin-full 2016-12-10 19:11:50 +02:00
luci-mod-freifunk Merge pull request #663 from NeoRaider/styleable-checkboxes 2016-12-10 06:36:01 -05:00
luci-mod-freifunk-community Rework LuCI build system 2015-01-08 16:26:20 +01:00
luci-mod-rpc modules/luci-mod-rpc: fix attempt to index global 'luci' (a nil value) 2015-09-12 15:11:18 +06:00