remove day/month/year from progress spots
[spider.git] / perl / DXProtHandle.pm
index 19d4a31c1888853bc12c7ff0d0410ec3a25c1850..5193a227043bb3d1a4a28430560ebf2a415f81c0 100644 (file)
@@ -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) {