added some more isolation
[spider.git] / perl / DXProt.pm
index 1ffbe70193961fd899fb090d5b1e6c744df56ab5..d1ac6cf8218cb54ac39330935141eeaf5b1fe512 100644 (file)
@@ -692,8 +692,10 @@ sub send_local_config
                @nodes = (DXCluster->get_exact($main::mycall));
        } else {
                # create a list of all the nodes that are not connected to this connection
-               @nodes = DXNode::get_all();
-               @nodes = grep { $_->dxchan != $self } @nodes;
+               # and are not themselves isolated, this to make sure that isolated nodes
+        # don't appear outside of this node
+               @nodes = DXNode::get_all(); 
+               @nodes = grep { $_->dxchan != $self && !$_->dxchan->{isolate} } @nodes;
        }
 
        my @s = $me->pc19(@nodes);