diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 44ac205f7..daa0ec528 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -4474,7 +4474,7 @@ sub do_proto( $$$;$ ) fatal_error "An inverted ICMP list may only contain a single type" if $invert; fatal_error "An ICMP type list is not allowed in this context" if $restricted; $types = ''; - for my $type ( list_split( $ports, 'ICMP type list' ) ) { + for my $type ( split_list( $ports, 'ICMP type list' ) ) { $types = $types ? join( ',', $types, validate_icmp6( $type ) ) : $type; } } else {