X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtHandle.pm;h=5193a227043bb3d1a4a28430560ebf2a415f81c0;hb=34f47f7d220c9244769f1c6360a92fcae18803ba;hp=19d4a31c1888853bc12c7ff0d0410ec3a25c1850;hpb=dc76846865745b0a4a6ae468026f8196072e2f25;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 19d4a31c..5193a227 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -227,8 +227,7 @@ sub handle_11 my $ip = $spot[14] if exists $spot[14]; if (isdbg('progress')) { my $sip = $ip ? sprintf "($ip)" : '' unless $ip =~ m|[\(\)\*]|; - my $d = cldatetime($spot[2]); - $d =~ /^s+//; + my $d = ztime($spot[2]); 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 +1479,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) {