mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-19 13:10:05 +02:00
Correct minor IPv6 TPROXY bug
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@@ -458,7 +458,7 @@ our %tccmd;
|
|||||||
if ( $ip =~ /^\[(.+)\]$/ || $ip =~ /^<(.+)>$/ ) {
|
if ( $ip =~ /^\[(.+)\]$/ || $ip =~ /^<(.+)>$/ ) {
|
||||||
$ip = $1;
|
$ip = $1;
|
||||||
} elsif ( $ip =~ /^\[(.+)\]\/(\d+)$/ ) {
|
} elsif ( $ip =~ /^\[(.+)\]\/(\d+)$/ ) {
|
||||||
$ip = join( $1, $2 );
|
$ip = join( '/', $1, $2 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user