diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-12-16 01:25:07 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-12-16 01:25:07 +0000 |
commit | 5c1ef9a0a60240a949be9ce1839c049471d7c5a1 (patch) | |
tree | d1f1ddbc3a918be4b053f03e9e41b6082039b968 /applications/luci-firewall | |
parent | 757e9c2f1cb49b312322d29f8a4933ecedbbdaec (diff) |
applications/luci-firewall: allow negated uci identifiers, hostnames and ip addresses in zone masq src/dest fields
Diffstat (limited to 'applications/luci-firewall')
-rw-r--r-- | applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua index 2bcb9a980..8c9c09102 100644 --- a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua +++ b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua @@ -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") |