forked from extern/shorewall_code
Fix 3.3 version of maclist snafu
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4866 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a6f9d5b184
commit
1c08b71522
@ -195,10 +195,9 @@ setup_mac_lists() # $1 = Phase Number
|
||||
#
|
||||
# Generate jumps from the input and forward chains
|
||||
#
|
||||
[ -n "$POLICY_MATCH" ] && policy="-m policy --pol $ipsec --dir in" || policy=
|
||||
|
||||
for hosts in $maclist_hosts; do
|
||||
ipsec=${hosts%^*}
|
||||
[ -n "$POLICY_MATCH" ] && policy="-m policy --pol $ipsec --dir in" || policy=
|
||||
hosts=${hosts#*^}
|
||||
interface=${hosts%%:*}
|
||||
hosts=${hosts#*:}
|
||||
|
Loading…
Reference in New Issue
Block a user