mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
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:
parent
2eb14723f8
commit
ccf56bcf74
@ -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%%:*}
|
||||
|
Loading…
Reference in New Issue
Block a user