luci/modules/luci-lua-runtime
David Härdeman cc975fd147 luci-lua-runtime: get odhcpd leases via ubus
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>
2026-11-17 22:14:26 +02:00
..
luasrc luci-lua-runtime: get odhcpd leases via ubus 2026-11-17 22:14:26 +02:00
src
…
Makefile
…