summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/luasrc/model
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-network/luasrc/model')
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua6
1 files changed, 2 insertions, 4 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 3ac49d635..e886d8422 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"