From 45d53bdb1ddb386f5ff1db78391b647d6dce42c3 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 25 Feb 2013 17:50:33 -0800 Subject: [PATCH] Delete superfluous statement. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Nat.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Nat.pm b/Shorewall/Perl/Shorewall/Nat.pm index b284b543a..c4460b065 100644 --- a/Shorewall/Perl/Shorewall/Nat.pm +++ b/Shorewall/Perl/Shorewall/Nat.pm @@ -281,12 +281,10 @@ sub process_one_masq1( $$$$$$$$$$ ) if ( $addr =~ /^(.+)-(.+)$/ ) { fatal_error "Correct address range syntax is '[-]'" if $addr =~ /]-\[/; validate_range( $1, $2 ); - $addr =~ s/]-\[/-/; } else { validate_address $addr, 0; } - if ( supplied $ports ) { validate_portpair1( $proto, $ports ); $exceptionrule = do_proto( $proto, '', '' );