From ae0cffa588cf7c3e8cec296827c9de52b94a353c Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 2 Aug 2011 09:13:23 -0700 Subject: [PATCH] Fix handling of zone names beginning with 'all' --- Shorewall/Perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index c8b0d1560..c06c65360 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -2252,7 +2252,7 @@ sub build_zone_list( $$$\$\$ ) { # # Handle Wildcards # - if ( $input =~ /^(all[-+]*)(![^:]+)?(:.*)?/ ) { + if ( $input =~ /^(all[-+]*)(![^:]+)?(:.*)?$/ ) { $input = $1; $exclude = $2; $rest = $3;