mirror of https://github.com/openwrt/luci.git
The host hints parsed odhcpd's lease file, which is an internal file of odhcpd and about to go away. Use odhcpd's ipv4leases and ipv6leases ubus methods instead, and escape the hostnames like rpcd-mod-luci does. This also adds odhcpd's IPv4 leases, which the lease file parsing never matched (their MAC addresses contain colons), and all addresses of a DHCPv6 lease, but no longer delegated prefixes. Signed-off-by: David Härdeman <david@hardeman.nu> |
||
|---|---|---|
| .. | ||
| luasrc | ||
| src | ||
| Makefile | ||