Fix the prior commit

This commit is contained in:
Tom Eastep 2011-04-13 17:56:15 -07:00
parent 9a8f411531
commit 96af7bfed6

View File

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