Correct minor IPv6 TPROXY bug

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-05-29 07:18:46 -07:00
parent eaf1d0e5c2
commit f0aa29222f

View File

@ -458,7 +458,7 @@ our %tccmd;
if ( $ip =~ /^\[(.+)\]$/ || $ip =~ /^<(.+)>$/ ) {
$ip = $1;
} elsif ( $ip =~ /^\[(.+)\]\/(\d+)$/ ) {
$ip = join( $1, $2 );
$ip = join( '/', $1, $2 );
}
}