make isolation work in both directions again?
authorminima <minima>
Sun, 19 Aug 2001 14:33:50 +0000 (14:33 +0000)
committerminima <minima>
Sun, 19 Aug 2001 14:33:50 +0000 (14:33 +0000)
Changes
perl/DXProt.pm

diff --git a/Changes b/Changes
index 7d5907505fe2c304c662f6cc1d0209a6c8af8ce6..20d4649e6c88598f786a2eaea228bf60e2ed2fcf 100644 (file)
--- 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).
index 88433b5726985a04dc17ed47163c270d272a125c..7359fdead0d7a85f2c6d51ff4ab36e2a0c147329 100644 (file)
@@ -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');