diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-12-09 13:05:44 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-12-09 13:05:44 +0100 |
commit | 8e9e92a630a9e18eef642c02b8a7fa476440ab37 (patch) | |
tree | be42a7cf6591e76607bc31203c964f16e1bc2bc8 /modules/luci-mod-admin-full/luasrc/view | |
parent | 6d5f878d7c993f08e4fb48efba169f7bb4869e6f (diff) |
luci-base: luci.tools.status: properly parse infinite odhcpd leases
The expiry time in an odhcpd lease file line may be -1 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.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/view')
0 files changed, 0 insertions, 0 deletions