From: minima Date: Sat, 21 Jan 2006 17:46:08 +0000 (+0000) Subject: remove 'u=' if 'o=' eq mycall X-Git-Tag: R_1_52~12 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ead255ed7fd40cbd7284a23aade0809bec9f8e51;p=spider.git remove 'u=' if 'o=' eq mycall --- 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);