X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXProt.pm;h=ee8c4aa9ef4d03e97fdfe0894e431f036ccb912c;hb=a5bd8a3c8ddca2ceb8ec805465d1b9b53f6812da;hp=741e4b3342ec9415d9d5e08d1c9d4f0f5f8cf78e;hpb=3d4ef40cbe97fc74d9c95e782aa35f99c75d1202;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 741e4b33..ee8c4aa9 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -197,7 +197,10 @@ sub normal } # if this is a 'nodx' node then ignore it - last SWITCH if grep $field[7] =~ /^$_/, @DXProt::nodx_node; + if (grep $field[7] =~ /^$_/, @DXProt::nodx_node) { + dbg('chan', "Bad DXNode, dropped"); + return; + } # convert the date to a unix date my $d = cltounix($field[3], $field[4]); @@ -911,7 +914,7 @@ sub send_announce ($filter, $hops) = Filter::it($dxchan->{annfilter}, @_, $self->{call} ); next unless $filter; } - if ($dxchan->is_ak1a && $field[1] ne $main::mycall) { # i.e not specifically routed to me + if ($dxchan->is_ak1a && $_[1] ne $main::mycall) { # i.e not specifically routed to me next if $dxchan == $self; if ($hops) { $routeit = $line;