From 37f82ebe660cdbce6054bb0a0e50b774fc46a893 Mon Sep 17 00:00:00 2001 From: minima Date: Sat, 21 Jan 2006 17:46:08 +0000 Subject: [PATCH] remove 'u=' if 'o=' eq mycall --- perl/DXXml/Ping.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.43.0