forked from extern/shorewall_code
Don't require an IP address on a bridge to use MAC verification
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6482 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f289fed0a4
commit
88bfa62395
@ -235,7 +235,7 @@ setup_mac_lists() # $1 = Phase Number
|
||||
if [ -n "$MACLIST_LOG_LEVEL" -o $MACLIST_DISPOSITION != ACCEPT ]; then
|
||||
indent >&3 << __EOF__
|
||||
|
||||
if interface_is_usable $interface; then
|
||||
if interface_is_up $interface; then
|
||||
ip -f inet addr show $interface 2> /dev/null | grep 'inet.*brd' | sed 's/inet //; s/brd //; s/scope.*//;' | while read address broadcast; do
|
||||
address=\${address%/*}
|
||||
if [ -n "\$broadcast" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user