From: minima Date: Sun, 19 Aug 2001 14:33:50 +0000 (+0000) Subject: make isolation work in both directions again? X-Git-Tag: R_1_48~92 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=dd564b3f95c49b8e78566100119945ba5352740a;p=spider.git make isolation work in both directions again? --- diff --git a/Changes b/Changes index 7d590750..20d4649e 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,6 @@ 19Aug01======================================================================= 1. Fix rcmds +2. make isolation when there are no filters present work again? 17Aug01======================================================================= 1. Sort out PC41 handling to include type 5 records for QRA locators and also remove all filtering (but retain ephemeral dup checking). diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 88433b57..7359fdea 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1754,7 +1754,7 @@ sub send_route $routeit = adjust_hops($self, $line); # adjust its hop count by node name next unless $routeit; } - $self->send($routeit) if $self->{routefilter} || !$self->{isolate}; + $self->send($routeit); } } } @@ -1770,7 +1770,7 @@ sub broadcast_route foreach $dxchan (@dxchan) { next if $dxchan == $self; next if $dxchan == $me; - if ($dxchan->{routefilter} || !$self->{isolate}) { + if ($dxchan->{routefilter} || (!$self->{isolate} && !$dxchan->{isolate})) { $dxchan->send_route($generate, @_) } else { dbg('DXPROT: isolated') if isdbg('chanerr');