luci-app-mwan3: fix possibility to not select an ipset
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
4b873ddf84
commit
aa2e1edfa5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue