mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-18 23:57:14 +02:00
Fix exclusion of single MAC address in actions
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3944 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f37238d0d1
commit
b3fe9c9af5
@ -3590,6 +3590,10 @@ process_action() # $1 = chain (Chain to add the rules to)
|
|||||||
*!*!*)
|
*!*!*)
|
||||||
fatal_error "Invalid SOURCE in rule \"$rule\""
|
fatal_error "Invalid SOURCE in rule \"$rule\""
|
||||||
;;
|
;;
|
||||||
|
!~*)
|
||||||
|
excludesource=${clients#!}
|
||||||
|
clients=
|
||||||
|
;;
|
||||||
!*)
|
!*)
|
||||||
if [ $(list_count $clients) -gt 1 ]; then
|
if [ $(list_count $clients) -gt 1 ]; then
|
||||||
excludesource=${clients#!}
|
excludesource=${clients#!}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user