Revert "luci-proto-ipv6: improve dhcpv6 support"

This reverts commit dd457f9d1a.
This commit is contained in:
coolsnowwolf 2024-09-14 20:16:04 +08:00
parent 5cd327a0bd
commit 01beb0be90
2 changed files with 1 additions and 6 deletions

View File

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

View File

@ -24,11 +24,6 @@ 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"))