1
0
mirror of https://gitlab.com/shorewall/code.git synced 2025-08-11 08:40:02 +02:00

Fix the prior commit

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

@ -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, '', '' );
}