mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-24 21:50:49 +01:00
Allow ports with UDPLITE
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
22c614d30b
commit
ee091d09eb
@ -401,10 +401,11 @@ sub validate_portpair( $$ ) {
|
|||||||
$what = 'port';
|
$what = 'port';
|
||||||
}
|
}
|
||||||
|
|
||||||
fatal_error "Using a $what ( $portpair ) requires PROTO TCP, UDP, SCTP or DCCP" unless
|
fatal_error "Using a $what ( $portpair ) requires PROTO TCP, UDP, UDPLITE, SCTP or DCCP" unless
|
||||||
defined $protonum && ( $protonum == TCP ||
|
defined $protonum && ( $protonum == TCP ||
|
||||||
$protonum == UDP ||
|
$protonum == UDP ||
|
||||||
$protonum == SCTP ||
|
$protonum == UDPLITE ||
|
||||||
|
$protonum == SCTP ||
|
||||||
$protonum == DCCP );
|
$protonum == DCCP );
|
||||||
join ':', @ports;
|
join ':', @ports;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user