mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-20 05:11:03 +01:00
Fix a silly masq bug
This commit is contained in:
parent
16276b9900
commit
9008cd960c
@ -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, '', '' );
|
||||||
|
Loading…
Reference in New Issue
Block a user