summaryrefslogtreecommitdiff
path: root/templates/firewall
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2015-12-12 20:10:57 +0000
committerAlex Harpin <development@landsofshadow.co.uk>2015-12-12 20:10:57 +0000
commit06d3f338114141d1fa8c2878a6684dcfd1137e69 (patch)
treeec573bc61d7c9b9945edf2d05be6222297fc81eb /templates/firewall
parentaff6ce143e177645829b4cbe76839e90c515258d (diff)
downloadvyatta-cfg-firewall-06d3f338114141d1fa8c2878a6684dcfd1137e69.tar.gz
vyatta-cfg-firewall-06d3f338114141d1fa8c2878a6684dcfd1137e69.zip
vyatta-cfg-firewall: update network-group check to allow "this" network
Update the check for network-groups to allow zero net addresses as they are accepted by the current version of ipset used in VyOS, rejecting only the 0.0.0.0/0 address. This allows the "this" network (0.0.0.0/8) to be used in network-groups. Bug #628 http://bugzilla.vyos.net/show_bug.cgi?id=628
Diffstat (limited to 'templates/firewall')
-rw-r--r--templates/firewall/group/network-group/node.tag/network/node.def4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/firewall/group/network-group/node.tag/network/node.def b/templates/firewall/group/network-group/node.tag/network/node.def
index b3e0c18..d08b39d 100644
--- a/templates/firewall/group/network-group/node.tag/network/node.def
+++ b/templates/firewall/group/network-group/node.tag/network/node.def
@@ -5,6 +5,4 @@ val_help: ipv4net; IPv4 Subnet to match
syntax:expression: exec "/opt/vyatta/sbin/ipset-check-member network $VAR(@)"
-syntax:expression: exec " \
- /opt/vyatta/sbin/check_prefix_boundary $VAR(@)" \
-
+syntax:expression: exec "/opt/vyatta/sbin/check_prefix_boundary $VAR(@)"