mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 18:13:13 +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 =~ /^(.+)-(.+)$/ ) {
|
if ( $addr =~ /^(.+)-(.+)$/ ) {
|
||||||
fatal_error "Correct address range syntax is '[<addr1>-<addr2>]'" if $addr =~ /]-\[/;
|
fatal_error "Correct address range syntax is '[<addr1>-<addr2>]'" if $addr =~ /]-\[/;
|
||||||
validate_range( $1, $2 );
|
validate_range( $1, $2 );
|
||||||
$addr =~ s/]-\[/-/;
|
|
||||||
} else {
|
} else {
|
||||||
validate_address $addr, 0;
|
validate_address $addr, 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ( supplied $ports ) {
|
if ( supplied $ports ) {
|
||||||
validate_portpair1( $proto, $ports );
|
validate_portpair1( $proto, $ports );
|
||||||
$exceptionrule = do_proto( $proto, '', '' );
|
$exceptionrule = do_proto( $proto, '', '' );
|
||||||
|
Loading…
Reference in New Issue
Block a user