From aa2e1edfa5c3ccc878cd615c7729a892eae72947 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 31 Jan 2019 11:03:27 +0100 Subject: luci-app-mwan3: fix possibility to not select an ipset Signed-off-by: Florian Eckert --- applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'applications/luci-app-mwan3/luasrc/model/cbi') 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 -- cgit v1.2.3