mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-24 00:23:28 +01:00
Delete superfluous statement.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
fb17de0595
commit
45d53bdb1d
@ -281,12 +281,10 @@ sub process_one_masq1( $$$$$$$$$$ )
|
||||
if ( $addr =~ /^(.+)-(.+)$/ ) {
|
||||
fatal_error "Correct address range syntax is '[<addr1>-<addr2>]'" if $addr =~ /]-\[/;
|
||||
validate_range( $1, $2 );
|
||||
$addr =~ s/]-\[/-/;
|
||||
} else {
|
||||
validate_address $addr, 0;
|
||||
}
|
||||
|
||||
|
||||
if ( supplied $ports ) {
|
||||
validate_portpair1( $proto, $ports );
|
||||
$exceptionrule = do_proto( $proto, '', '' );
|
||||
|
Loading…
Reference in New Issue
Block a user