From: Dirk Koopman Date: Thu, 7 May 2020 15:41:57 +0000 (+0100) Subject: redo ffff remove on pc92 a X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9bd1b50613d46b88fb7a5fb4a7e4f9882b935387;p=spider.git redo ffff remove on pc92 a --- diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 19d4a31c..3e283a18 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -228,7 +228,7 @@ sub handle_11 if (isdbg('progress')) { my $sip = $ip ? sprintf "($ip)" : '' unless $ip =~ m|[\(\)\*]|; my $d = cldatetime($spot[2]); - $d =~ /^s+//; + $d =~ s/^s+//; my $s = "SPOT: $spot[1] on $spot[0] \@ $d by $spot[4]$sip\@$spot[7]"; $s .= " '$spot[3]'" if $spot[3]; dbg($s); @@ -1480,6 +1480,9 @@ sub _add_thingy my ($call, $is_node, $is_extnode, $here, $version, $build, $ip) = @$s; my @rout; + # remove spurious IPV6 prefix on IPV4 addresses + $ip =~ s/^::ffff://; + if ($call) { my $ncall = $parent->call; if ($is_node) {