From 29a0c929184ea00cc1cfe1e29f2510c65817927e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 29 May 2015 14:39:48 -0700 Subject: [PATCH] Fix ancient bug in old parameter syntax Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 56c70f456..c623068fa 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -8735,7 +8735,7 @@ sub get_inline_matches( $ ) { # Split the passed target into the basic target and parameter # sub get_target_param( $ ) { - my ( $target, $param ) = split '/', $_[0]; + my ( $target, $param ) = split '/', $_[0], 2; unless ( defined $param ) { ( $target, $param ) = ( $1, $2 ) if $target =~ /^(.*?)[(](.*)[)]$/;