From 668bd4a1a4a2575e9ca6a7cb9b5e475abbec54b8 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 17 Apr 2013 16:59:14 -0700 Subject: [PATCH] Accept complex log levels with INLINE Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index acc752600..1d794b447 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -1917,7 +1917,7 @@ sub split_line1( $$;$$ ) { # fatal_error "Only one semicolon (';') allowed on a line" if defined $rest; - if ( $currentline =~ /^\s*INLINE(?:\(.*\))?\s/) { + if ( $currentline =~ /^\s*INLINE(?:\(.*\)|:.*)?\s/) { $inline_matches = $pairs; if ( $columns =~ /^(\s*|.*[^&@%]){(.*)}\s*$/ ) {