X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2FDXXml%2FPing.pm;h=d70d6e9a46104cb379b95653af96862f4b0388b0;hp=06d96ff617cff373e0487dad01f8021dbbaa2ecf;hb=37f82ebe660cdbce6054bb0a0e50b774fc46a893;hpb=a253a7d3820e9fb58bca0c2633ba958778ad4c52 diff --git a/perl/DXXml/Ping.pm b/perl/DXXml/Ping.pm index 06d96ff6..d70d6e9a 100644 --- a/perl/DXXml/Ping.pm +++ b/perl/DXXml/Ping.pm @@ -63,7 +63,7 @@ sub add my $ref = $pings{$to} || []; my $r = {}; my $self = DXXml::Ping->new(to=>$to, '-hirestime'=>[ gettimeofday ], s=>'1'); - $self->{u} = $from; + $self->{u} = $from unless $from eq $main::mycall; $self->{'-via'} = $via if $via && DXChannel::get($via); $self->{o} = $main::mycall; $self->route($dxchan);