From dd564b3f95c49b8e78566100119945ba5352740a Mon Sep 17 00:00:00 2001 From: minima Date: Sun, 19 Aug 2001 14:33:50 +0000 Subject: [PATCH] make isolation work in both directions again? --- Changes | 1 + perl/DXProt.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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'); -- 2.34.1