mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
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
|
# 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
|
for hosts in $maclist_hosts; do
|
||||||
ipsec=${hosts%^*}
|
ipsec=${hosts%^*}
|
||||||
|
[ -n "$POLICY_MATCH" ] && policy="-m policy --pol $ipsec --dir in" || policy=
|
||||||
hosts=${hosts#*^}
|
hosts=${hosts#*^}
|
||||||
interface=${hosts%%:*}
|
interface=${hosts%%:*}
|
||||||
hosts=${hosts#*:}
|
hosts=${hosts#*:}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user