summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/model
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-01-31 11:03:27 +0100
committerFlorian Eckert <fe@dev.tdt.de>2019-01-31 11:04:43 +0100
commitaa2e1edfa5c3ccc878cd615c7729a892eae72947 (patch)
tree7fc72805637e3f85e87bc9e70217b05207d782ed /applications/luci-app-mwan3/luasrc/model
parent4b873ddf84f9623501d5074a5e8253d2be3c40fb (diff)
luci-app-mwan3: fix possibility to not select an ipset
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/model')
-rw-r--r--applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
index 3643e37ec5..f20414240e 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
@@ -55,6 +55,7 @@ timeout.datatype = "range(1, 1000000)"
ipset = mwan_rule:option(Value, "ipset", translate("IPset"),
translate("Name of IPset rule. Requires IPset rule in /etc/dnsmasq.conf (eg \"ipset=/youtube.com/youtube\")"))
+ipset:value("", translate("-- Please choose --"))
for _, z in ipairs(ipsets) do
ipset:value(z)
end