From 2a12e0950a5c9db459ab3ebfa8ecc66c468cc892 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 9 Feb 2018 12:58:18 -0800 Subject: [PATCH] Allow pairs in braces to appear with ';;' Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index a4187f4d6..66403a65d 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -2417,6 +2417,10 @@ sub split_line2( $$;$$$ ) { fatal_error "Only one set of double semicolons (';;') allowed on a line" if defined $rest; $currline = $columns; + # + # Remove trailing white space + # + $currline =~ s/\s*$//; $inline_matches = $pairs; #