forked from extern/shorewall_code
Correct typo
- list_split s/b split_list Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8c4bbf0c85
commit
50b7a81b13
@ -4474,7 +4474,7 @@ sub do_proto( $$$;$ )
|
|||||||
fatal_error "An inverted ICMP list may only contain a single type" if $invert;
|
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;
|
fatal_error "An ICMP type list is not allowed in this context" if $restricted;
|
||||||
$types = '';
|
$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;
|
$types = $types ? join( ',', $types, validate_icmp6( $type ) ) : $type;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user