From 789e3fe757bd47761fff29f7dc2e1262746250ab Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 25 Sep 2004 18:30:49 +0000 Subject: [PATCH] Fix addrule git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1650 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- STABLE/firewall | 2 +- STABLE2/firewall | 2 +- Shorewall2/firewall | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/STABLE/firewall b/STABLE/firewall index f025da6e8..16a970c41 100755 --- a/STABLE/firewall +++ b/STABLE/firewall @@ -307,7 +307,7 @@ ensurechain() # $1 = chain name addrule() # $1 = chain name, remainder of arguments specify the rule { ensurechain $1 - run_iptables -A $@ + run_iptable2s -A $@ } # diff --git a/STABLE2/firewall b/STABLE2/firewall index 72e8d994a..31ad3c1ae 100755 --- a/STABLE2/firewall +++ b/STABLE2/firewall @@ -293,7 +293,7 @@ ensurechain1() # $1 = chain name addrule() # $1 = chain name, remainder of arguments specify the rule { ensurechain $1 - run_iptables -A $@ + run_iptables2 -A $@ } # diff --git a/Shorewall2/firewall b/Shorewall2/firewall index 357bbc62d..1b7b0c311 100755 --- a/Shorewall2/firewall +++ b/Shorewall2/firewall @@ -295,7 +295,7 @@ ensurechain1() # $1 = chain name addrule() # $1 = chain name, remainder of arguments specify the rule { ensurechain $1 - run_iptables -A $@ + run_iptables2 -A $@ } # @@ -5893,7 +5893,7 @@ add_common_rules() { done for interface in $interfaces; do - file/=proc/sys/net/ipv4/conf/$interface/log_martians + file=proc/sys/net/ipv4/conf/$interface/log_martians if [ -f $file ]; then run_and_save_command "echo 1 > $file" else