mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-19 04:41:07 +01:00
Fix the prior commit
This commit is contained in:
parent
9a8f411531
commit
96af7bfed6
@ -207,8 +207,9 @@ sub process_one_masq( )
|
|||||||
} else {
|
} else {
|
||||||
my $ports = $addr;
|
my $ports = $addr;
|
||||||
$ports =~ s/^://;
|
$ports =~ s/^://;
|
||||||
$ports =~ s/-/:/;
|
my $portrange = $ports;
|
||||||
validate_portpair( $proto, $ports );
|
$portrange =~ s/-/:/;
|
||||||
|
validate_portpair( $proto, $portrange );
|
||||||
$addrlist .= "--to-ports $ports ";
|
$addrlist .= "--to-ports $ports ";
|
||||||
$exceptionrule = do_proto( $proto, '', '' );
|
$exceptionrule = do_proto( $proto, '', '' );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user