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 =~ /^(.*?)[(](.*)[)]$/;