Flush all chains during clear

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@81 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2002-06-18 17:53:24 +00:00
parent 332352bc6f
commit 16a9abc9d8

View File

@ -444,7 +444,7 @@ validate_interfaces_file() {
[ "x$z" = "x-" ] || validate_zone $z || startup_error "Invalid zone ($z) in record \"$r\""
list_search $interface $all_interfaces && \
startup_error "Duplicate Interface $interface"
startup_error "Error: Duplicate Interface $interface"
all_interfaces="$all_interfaces $interface"
@ -991,6 +991,8 @@ stop_firewall() {
clear_firewall() {
stop_firewall
run_iptables -F
setpolicy INPUT ACCEPT
setpolicy FORWARD ACCEPT
setpolicy OUTPUT ACCEPT