mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 21:24:35 +04:00
Note that "duid" from UCI can be *either* "<DUID>" or "<DUID>%<IAID>", so update the code to handle both cases. Also, make sure the "Reserve IP" button is disabled if the "duid" is unknown (can only happen if dnsmasq is responsible for DHCPv6) and that DUIDs/IAIDs are always rendered in lowercase in the UI. Signed-off-by: David Härdeman <david@hardeman.nu>