]> dxcluster.org Git - spider.git/commitdiff
fix more cases of non-local updates of local connections on PC92 C
authorminima <minima>
Sun, 14 Jan 2007 20:32:33 +0000 (20:32 +0000)
committerminima <minima>
Sun, 14 Jan 2007 20:32:33 +0000 (20:32 +0000)
perl/DXProtHandle.pm

index 526762e514d623b72d8c1b18ca49e09403ac205a..422b1714af791c5aba6b9cec73cc9cc6fc490c20 100644 (file)
@@ -1470,6 +1470,11 @@ sub handle_92
                                return;
                        }
                        if ($is_extnode) {
+                               # this is only accepted from my "self"
+                               if (DXChannel::get($call) && $call ne $self->{call}) {
+                                       dbg("PCPROT: locally connected node config for $call from other another node $self->{call}, ignored") if isdbg('chanerr');
+                                       return;
+                               }
                                # reparent to external node (note that we must have received a 'C' or 'A' record
                                # from the true parent node for this external before we get one for the this node
                                unless ($parent = Route::Node::get($call)) {