applications/luci-firewall: allow negated uci identifiers, hostnames and ip addresses in zone masq src/dest fields
This commit is contained in:
parent
757e9c2f1c
commit
5c1ef9a0a6
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ msrc = s:taboption("advanced", DynamicList, "masq_src",
|
|||
translate("Restrict Masquerading to given source subnets"))
|
||||
|
||||
msrc.optional = true
|
||||
msrc.datatype = "neg_network_ip4addr"
|
||||
msrc.datatype = "neg(network)"
|
||||
msrc.placeholder = "0.0.0.0/0"
|
||||
msrc:depends("family", "")
|
||||
msrc:depends("family", "ipv4")
|
||||
|
@ -138,7 +138,7 @@ mdest = s:taboption("advanced", DynamicList, "masq_dest",
|
|||
translate("Restrict Masquerading to given destination subnets"))
|
||||
|
||||
mdest.optional = true
|
||||
mdest.datatype = "neg_network_ip4addr"
|
||||
mdest.datatype = "neg(network)"
|
||||
mdest.placeholder = "0.0.0.0/0"
|
||||
mdest:depends("family", "")
|
||||
mdest:depends("family", "ipv4")
|
||||
|
|
Loading…
Reference in a new issue