diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2019-01-31 20:04:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-31 20:04:48 +0200 |
commit | 44680dc8057a3437f07cae8dbac29b2490baf947 (patch) | |
tree | 7fc72805637e3f85e87bc9e70217b05207d782ed /applications | |
parent | 4b873ddf84f9623501d5074a5e8253d2be3c40fb (diff) | |
parent | aa2e1edfa5c3ccc878cd615c7729a892eae72947 (diff) |
Merge pull request #2493 from TDT-AG/pr/20190131-luci-app-mwan3
luci-app-mwan3: fix possibility to not select an ipset
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua | 1 |
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 |