diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-03-26 15:52:14 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-26 15:52:14 +0700 |
commit | c22fd4e612bdc9e95474baa0bc7d0cf3d2144ebc (patch) | |
tree | 3c726e42dbc45292f232fd47258d0fac6cfd0d30 /templates | |
parent | ce9af44139520d8a0f1f3e25cfe06e68e48f8cea (diff) | |
parent | fc5e3b8bb61690619ee739f11cac54abb689d5f2 (diff) | |
download | vyatta-cfg-firewall-c22fd4e612bdc9e95474baa0bc7d0cf3d2144ebc.tar.gz vyatta-cfg-firewall-c22fd4e612bdc9e95474baa0bc7d0cf3d2144ebc.zip |
Merge pull request #9 from mtudosoiu/current
Task T35 change to solve port-group issue
Diffstat (limited to 'templates')
-rw-r--r-- | templates/firewall/group/port-group/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/firewall/group/port-group/node.def b/templates/firewall/group/port-group/node.def index 1484be2..729165f 100644 --- a/templates/firewall/group/port-group/node.def +++ b/templates/firewall/group/port-group/node.def @@ -16,6 +16,6 @@ syntax:expression: pattern $VAR(@) "^[^|;&$<>]*$" ; \ "Firewall group name cannot contain shell punctuation" end: if sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=update-set \ - --set-name="$VAR(@)" --set-type=port; then + --set-name="$VAR(@)" --set-type=port --set-family=inet; then ${vyatta_sbindir}/vyatta-firewall-trap.pl --level="firewall group port-group $VAR(@)" fi |