X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=46ba890932204210fda710a84fe993d20e45ec36;hb=5232a160e5361e9bdcb8e2202c8063b8df6bd9dc;hp=c7e2abdbe44ef671be8ae3a80244338c7c045746;hpb=82de56e409a19a05761794c9588713160b51144e;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index c7e2abdb..46ba8909 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -291,13 +291,11 @@ sub normal my $wwv = Geomag::update($main::systime, $hour, $sfi, $a, $k, "R=$r, Next K=$next$alarm", $decode_dk0wcy, $field[5], $r); } - return if $field[2] eq $main::mycall; # it's routed to me } else { route($field[2], $line); - return; # only on a routed one } - last SWITCH; + return; } if ($pcno == 13) { @@ -911,9 +909,9 @@ sub send_announce if ($dxchan->{annfilter}) { ($filter, $hops) = Filter::it($dxchan->{annfilter}, @_, $self->{call} ); - return unless $filter; + next unless $filter; } - if ($dxchan->is_ak1a) { + if ($dxchan->is_ak1a && $_[1] ne $main::mycall) { # i.e not specifically routed to me next if $dxchan == $self; if ($hops) { $routeit = $line;