lan: Make fetching dhcpv6 leases more resilient
Fetching DHCPv6 leases might fail on multiple occasions, but all related to data fetched from odhcpd via ubus call (ubus call dhcp ipv6leases
).
Cover these cases and fallback to some safe values.
- No
br-lan
found (#253 (closed)) - No
ipv6-addr
in lease data (there might beipv6-prefix
) (#259 (closed)) - Lease has negative lease time (#254 (closed))
Closes: #253 (closed), #254 (closed), #259 (closed)
Edited by Martin Matějek