From 22d37f427054b52bd724c17d9656bca6dee7d3c5 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Tue, 3 May 2011 17:28:08 +0800 Subject: modify firewall groups to work with new commit --- templates/firewall/group/address-group/node.def | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'templates/firewall/group/address-group/node.def') diff --git a/templates/firewall/group/address-group/node.def b/templates/firewall/group/address-group/node.def index 40462fa..5b2e510 100644 --- a/templates/firewall/group/address-group/node.def +++ b/templates/firewall/group/address-group/node.def @@ -15,12 +15,5 @@ syntax:expression: pattern $VAR(@) "^[^!]" ; \ syntax:expression: pattern $VAR(@) "^[^|;&$<>]*$" ; \ "Firewall group name cannot contain shell punctuation" -create: sudo /opt/vyatta/sbin/vyatta-ipset.pl \ - --action=create-set \ - --set-type=address \ - --set-name="$VAR(@)" - - -delete: sudo /opt/vyatta/sbin/vyatta-ipset.pl \ - --action=delete-set \ - --set-name="$VAR(@)" +end: sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=update-set \ + --set-name="$VAR(@)" --set-type=address -- cgit v1.2.3