Fix addrule

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1650 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-09-25 18:30:49 +00:00
parent 7a74380f7e
commit 789e3fe757
3 changed files with 4 additions and 4 deletions

View File

@ -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 $@
}
#

View File

@ -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 $@
}
#

View File

@ -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