summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGaurav Sinha <gaurav.sinha@vyatta.com>2012-11-19 10:23:21 -0800
committerGaurav Sinha <gaurav.sinha@vyatta.com>2012-11-19 12:31:49 -0800
commit5bfb8101f94bac5280e27169617cad54f16b279d (patch)
tree02a502ad91fbb020d1054495480ee1ebc10da599 /scripts
parent51a7cc7cb639adc2cdf8c3a4028a20f75d8d5eeb (diff)
downloadvyatta-cfg-firewall-5bfb8101f94bac5280e27169617cad54f16b279d.tar.gz
vyatta-cfg-firewall-5bfb8101f94bac5280e27169617cad54f16b279d.zip
reset functions for named ipset rule implementation with commit lock
(cherry picked from commit 6b7808bf6c8dd9d1d9e993969358db2be135beff) Conflicts: scripts/firewall/vyatta-ipset.pl (cherry picked from commit 977f7ad60c252ed3c23176d5e764cd9231784fc7)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/firewall/vyatta-ipset.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/firewall/vyatta-ipset.pl b/scripts/firewall/vyatta-ipset.pl
index 99ae085..986ad13 100755
--- a/scripts/firewall/vyatta-ipset.pl
+++ b/scripts/firewall/vyatta-ipset.pl
@@ -317,6 +317,7 @@ GetOptions("action=s" => \$action,
die "undefined action" if ! defined $action;
my $rc;
+print "type is $set_type\n";
$rc = ipset_reset($set_name, $set_type) if $action eq 'reset-set';
$rc = ipset_create($set_name, $set_type) if $action eq 'create-set';