Allow :<port> in tcfilters

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-09-18 09:26:29 -07:00
parent 2fa16f6d08
commit f25b9e1967

View File

@ -445,7 +445,7 @@ sub expand_port_range( $$ ) {
# #
# Validate the ports # Validate the ports
# #
( $first , $last ) = ( validate_port( $proto, $first ) , validate_port( $proto, $last ) ); ( $first , $last ) = ( validate_port( $proto, $first || 1 ) , validate_port( $proto, $last ) );
$last++; #Increment last address for limit testing. $last++; #Increment last address for limit testing.
# #