mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
Fix exclusion of single MAC address in tcrules
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3946 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b3fe9c9af5
commit
6cbbf1c5a1
@ -2133,8 +2133,12 @@ process_tc_rule()
|
||||
*!*!*)
|
||||
fatal_error "Invalid SOURCE in rule \"$rule\""
|
||||
;;
|
||||
!~*)
|
||||
excludesources=${sources#!}
|
||||
sources=-
|
||||
;;
|
||||
!*)
|
||||
if [ $(list_count $sourcess) -gt 1 ]; then
|
||||
if [ $(list_count $sources) -gt 1 ]; then
|
||||
excludesources=${sources#!}
|
||||
sources=-
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user