diff options
-rw-r--r-- | modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua | 6 | ||||
-rw-r--r-- | modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua index 3ac49d635d..e886d84224 100644 --- a/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua +++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua @@ -250,21 +250,19 @@ o.rmempty = false o = s:taboption("general", Flag, "nonwildcard", translate("Non-wildcard"), - translate("Bind only to specific interfaces rather than wildcard address.")) + translate("Bind dynamically to interfaces rather than wildcard address (recommended as linux default)")) o.optional = false -o.rmempty = false +o.rmempty = true o = s:taboption("general", DynamicList, "interface", translate("Listen Interfaces"), translate("Limit listening to these interfaces, and loopback.")) o.optional = true -o:depends("nonwildcard", true) o = s:taboption("general", DynamicList, "notinterface", translate("Exclude interfaces"), translate("Prevent listening on these interfaces.")) o.optional = true -o:depends("nonwildcard", true) m:section(SimpleSection).template = "lease_status" diff --git a/modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua index 2ea044e16a..8ae38c0db4 100644 --- a/modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua +++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua @@ -55,7 +55,7 @@ delayoff = s:option(Value, "delayoff", translate ("Off-State Delay")) delayoff:depends("trigger", "timer") -dev = s:option(ListValue, "_net_dev", translate("Device")) +dev = s:option(Value, "_net_dev", translate("Device")) dev.rmempty = true dev:value("") dev:depends("trigger", "netdev") |