Fix obscure bug in rule activation when zone exclusion is present

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5452 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2007-03-06 03:51:14 +00:00
parent 8568bc34ea
commit f6178d50de
3 changed files with 12 additions and 2 deletions

View File

@@ -4350,7 +4350,7 @@ activate_rules()
#
chain1=excl_${EXCLUSION_SEQ}
EXCLUSION_SEQ=$(( $EXCLUSION_SEQ + 1 ))
eval ${chain}_${zone}_ex=$chain1
eval ${chain}_${zone1}_ex=$chain1
createchain $chain1 no
add_exclusions filter $chain1 $exclusions1
run_iptables -A $chain1 -j $chain