Skip to content
Commit 8e9e92a6 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jo@mein.io>
parent 6d5f878d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment