mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01: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\""
|
||||
;;
|
||||
!~*)
|
||||
excludesource=${clients#!}
|
||||
clients=
|
||||
;;
|
||||
!*)
|
||||
if [ $(list_count $clients) -gt 1 ]; then
|
||||
excludesource=${clients#!}
|
||||
|
Loading…
Reference in New Issue
Block a user