From b3fe9c9af55704e4777ccb6ba8353021ebf6bea8 Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 27 May 2006 13:39:38 +0000 Subject: [PATCH] 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 --- Shorewall/compiler | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Shorewall/compiler b/Shorewall/compiler index 24ec48c0f..c11902d30 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -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#!}