From 22d37f427054b52bd724c17d9656bca6dee7d3c5 Mon Sep 17 00:00:00 2001
From: An-Cheng Huang <ancheng@vyatta.com>
Date: Tue, 3 May 2011 17:28:08 +0800
Subject: modify firewall groups to work with new commit

---
 templates/firewall/group/network-group/node.def | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

(limited to 'templates/firewall/group/network-group/node.def')

diff --git a/templates/firewall/group/network-group/node.def b/templates/firewall/group/network-group/node.def
index e20b536..8e50b7d 100644
--- a/templates/firewall/group/network-group/node.def
+++ b/templates/firewall/group/network-group/node.def
@@ -15,12 +15,6 @@ 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=network                  \
-          --set-name="$VAR(@)"
+end: sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=update-set \
+        --set-name="$VAR(@)" --set-type=network
 
-
-delete: sudo /opt/vyatta/sbin/vyatta-ipset.pl \
-          --action=delete-set                 \
-          --set-name="$VAR(@)"
-- 
cgit v1.2.3

