X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=f218d5f33e223ab0a7de0ca25422493c9c240aab;hb=c36b11f5bda0555f5ff58e0499c77652b5d0f6ca;hp=a16789c7e31a5ee94e8353be9996265e790e92c5;hpb=c53f72111659792f75dd5040b7ee27e729f1ed78;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index a16789c7..f218d5f3 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -236,12 +236,13 @@ sub normal # send it if it isn't the except list and isn't isolated and still has a hop count foreach $dxchan (@dxchan) { next if $dxchan == $self; - my $routeit = adjust_hops($dxchan, $line); # adjust its hop count by node name my $filter = Filter::it($dxchan->{spotfilter}, @spot) if $dxchan->{spotfilter}; + my $routeit = adjust_hops($dxchan, $line); # adjust its hop count by node name + next unless $routeit; if ($filter) { $dxchan->send($routeit) if $routeit; } else { - $dxchan->send($routeit) unless $dxchan->{isolate} || !$routeit; + $dxchan->send($routeit) unless $dxchan->{isolate} || $self->{isolate}; } }