mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-14 03:34:31 +01:00
Allow :random to work with REDIRECT
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8959245375
commit
4e33efd8a6
@ -1072,7 +1072,7 @@ sub process_rule1 ( $$$$$$$$$$$$$ ) {
|
||||
if ( $dest eq '-' ) {
|
||||
$dest = join( '', $z, '::' , $ports =~ /[:,]/ ? '' : $ports );
|
||||
} else {
|
||||
$dest = join( '', $z, '::', $dest ) unless $dest =~ /:/;
|
||||
$dest = join( '', $z, '::', $dest ) unless $dest =~ /^[^\d].*:/;
|
||||
}
|
||||
} elsif ( $action eq 'REJECT' ) {
|
||||
$action = 'reject';
|
||||
|
Loading…
Reference in New Issue
Block a user