Restore setpolicy() to prog.header*

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-09-14 13:50:22 -07:00
parent c4a40d8c7b
commit 94cdc73ec2
2 changed files with 16 additions and 0 deletions

View File

@ -80,6 +80,14 @@ progress_message3() # $* = Message
fi
}
#
# Set a standard chain's policy
#
setpolicy() # $1 = name of chain, $2 = policy
{
run_iptables -P $1 $2
}
#
# Generate a list of all network interfaces on the system
#

View File

@ -80,6 +80,14 @@ progress_message3() # $* = Message
fi
}
#
# Set a standard chain's policy
#
setpolicy() # $1 = name of chain, $2 = policy
{
run_iptables -P $1 $2
}
#
# Generate a list of all network interfaces on the system
#