mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-17 19:18:32 +01:00
Catch protocol lists in contexts that don't allow them.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
edc0a84e5d
commit
de4e0898b5
@ -324,6 +324,7 @@ sub resolve_proto( $ ) {
|
||||
$number = numeric_value ( $proto );
|
||||
defined $number && $number <= 255 ? $number : undef;
|
||||
} else {
|
||||
fatal_error "A protocol list ($proto) is not allowed in this context" if $proto =~ /,/;
|
||||
#
|
||||
# Allow 'icmp' as a synonym for 'ipv6-icmp' in IPv6 compilations
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user