summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-09 16:40:20 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-09 16:40:20 -0800
commit3a624b78f5b0d50ef09953986d3289aecfa5fab7 (patch)
treeb4df4d247020e78b8cd23997dffe26374e12e4c1 /scripts
parent54dce2432591b67145842a8d2dd1b5058adeee1c (diff)
downloadvyatta-cfg-firewall-3a624b78f5b0d50ef09953986d3289aecfa5fab7.tar.gz
vyatta-cfg-firewall-3a624b78f5b0d50ef09953986d3289aecfa5fab7.zip
Add back parameter that was dropped when converting to use run_cmd().
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/firewall/vyatta-firewall.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl
index 71b8d5a..7f3a91a 100755
--- a/scripts/firewall/vyatta-firewall.pl
+++ b/scripts/firewall/vyatta-firewall.pl
@@ -528,7 +528,7 @@ sub teardown_iptables {
my ($num, undef, undef, $chain, undef, undef, $in, $out,
undef, undef) = split /\s+/;
if ($chain eq "FW_CONNTRACK") {
- run_cmd("$iptables_cmd -t raw -D PREROUTING", 1, 1);
+ run_cmd("$iptables_cmd -t raw -D PREROUTING $num", 1, 1);
run_cmd("$iptables_cmd -t raw -D OUTPUT $num", 1, 1);
run_cmd("$iptables_cmd -t raw -F FW_CONNTRACK", 1, 1);
run_cmd("$iptables_cmd -t raw -X FW_CONNTRACK", 1, 1);