Fix a silly masq bug

This commit is contained in:
Tom Eastep 2011-04-13 17:01:22 -07:00
parent 16276b9900
commit 9008cd960c

View File

@ -207,7 +207,7 @@ sub process_one_masq( )
} else { } else {
my $ports = $addr; my $ports = $addr;
$ports =~ s/^://; $ports =~ s/^://;
$ports =~ s/:/-/; $ports =~ s/-/:/;
validate_portpair( $proto, $ports ); validate_portpair( $proto, $ports );
$addrlist .= "--to-ports $ports "; $addrlist .= "--to-ports $ports ";
$exceptionrule = do_proto( $proto, '', '' ); $exceptionrule = do_proto( $proto, '', '' );