mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 20:30:43 +01:00
Fix the prior commit
This commit is contained in:
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, '', '' );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user