X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=2e43068a6951c7f42517c98a5170b57bd76fba68;hb=bda1cef129c5b201f7640433ce1844af45a68fcb;hp=7359fdead0d7a85f2c6d51ff4ab36e2a0c147329;hpb=dd564b3f95c49b8e78566100119945ba5352740a;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 7359fdea..2e43068a 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1145,7 +1145,7 @@ sub dx_spot ($filter, $hops) = $self->{spotsfilter}->it(@_); return unless $filter; } - send_prot_line($self, $filter, $hops, $isolate, $line) + send_prot_line($self, $filter, $hops, $isolate, $line); } sub send_prot_line @@ -1161,7 +1161,7 @@ sub send_prot_line return unless $routeit; } if ($filter) { - $self->send($routeit) if $routeit; + $self->send($routeit); } else { $self->send($routeit) unless $self->{isolate} || $isolate; } @@ -1770,10 +1770,10 @@ sub broadcast_route foreach $dxchan (@dxchan) { next if $dxchan == $self; next if $dxchan == $me; - if ($dxchan->{routefilter} || (!$self->{isolate} && !$dxchan->{isolate})) { - $dxchan->send_route($generate, @_) + if ($dxchan->{routefilter}) { + $dxchan->send_route($generate, @_); } else { - dbg('DXPROT: isolated') if isdbg('chanerr'); + $dxchan->send_route($generate, @_) unless $self->{isolate} || $dxchan->{isolate}; } } }