Fix DYNAMIC_ZONES=Yes is shorewall-shell

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8575 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2008-06-18 22:06:56 +00:00
parent 7501a1f189
commit 81bde95ce0
3 changed files with 12 additions and 2 deletions

View File

@ -4330,8 +4330,8 @@ activate_rules()
fi
if [ -n "$DYNAMIC_ZONES" ]; then
echo "$FW $zone $chain1" >> $STATEDIR/chains
echo "$zone $FW $chain2" >> $STATEDIR/chains
[ -n "$chain1" ] && echo "$FW $zone $chain1" >> $STATEDIR/chains
[ -n "$chain2" ] && echo "$zone $FW $chain2" >> $STATEDIR/chains
fi
need_broadcast=