mirror of
https://github.com/coolsnowwolf/luci
synced 2025-01-07 07:06:41 +08:00
Revert "luci-proto-ipv6: improve dhcpv6 support"
This reverts commit dd457f9d1a
.
This commit is contained in:
parent
5cd327a0bd
commit
01beb0be90
@ -397,7 +397,7 @@ end
|
|||||||
-- Display DNS settings if dnsmasq is available
|
-- Display DNS settings if dnsmasq is available
|
||||||
--
|
--
|
||||||
|
|
||||||
if has_dnsmasq then
|
if has_dnsmasq and net:proto() == "static" then
|
||||||
m2 = Map("dhcp", "", "")
|
m2 = Map("dhcp", "", "")
|
||||||
|
|
||||||
local has_section = false
|
local has_section = false
|
||||||
|
@ -24,11 +24,6 @@ o:value("64")
|
|||||||
o.default = "auto"
|
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",
|
o = section:taboption("advanced", Flag, "defaultroute",
|
||||||
translate("Use default gateway"),
|
translate("Use default gateway"),
|
||||||
translate("If unchecked, no default route is configured"))
|
translate("If unchecked, no default route is configured"))
|
||||||
|
Loading…
Reference in New Issue
Block a user