luci-proto-ipv6: improve dhcpv6 support

This commit is contained in:
coolsnowwolf 2024-05-09 22:02:22 +08:00
parent 886e1cd94d
commit dd457f9d1a
2 changed files with 6 additions and 1 deletions

View File

@ -397,7 +397,7 @@ end
-- Display DNS settings if dnsmasq is available
--
if has_dnsmasq and net:proto() == "static" then
if has_dnsmasq then
m2 = Map("dhcp", "", "")
local has_section = false

View File

@ -24,6 +24,11 @@ o:value("64")
o.default = "auto"
o = section:taboption("general", Flag, "norelease",
translate("Do not send a Release when restarting"),
translate("Enable to minimise the chance of prefix change after a restart"))
o = section:taboption("advanced", Flag, "defaultroute",
translate("Use default gateway"),
translate("If unchecked, no default route is configured"))