mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 07:08:53 +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 {
|
||||
my $ports = $addr;
|
||||
$ports =~ s/^://;
|
||||
$ports =~ s/:/-/;
|
||||
$ports =~ s/-/:/;
|
||||
validate_portpair( $proto, $ports );
|
||||
$addrlist .= "--to-ports $ports ";
|
||||
$exceptionrule = do_proto( $proto, '', '' );
|
||||
|
Loading…
Reference in New Issue
Block a user