Fix optimization of ipsec zone jumps

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1705 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-10-20 00:09:07 +00:00
parent 2eb14723f8
commit ccf56bcf74

View File

@ -6244,7 +6244,9 @@ activate_rules()
createchain $frwd_chain No
if [ -n "$POLICY_MATCH" ]; then
eval source_hosts=\$${zone}_ipsec_hosts
eval is_ipsec=\$${zone}_is_ipsec
[ -n "$is_ipsec" ] && eval source_hosts=\$${zone}_hosts || eval source_hosts=\$${zone}_ipsec_hosts
for host in $source_hosts; do
interface=${host%%:*}