From 9ae16680c6dcb7b49d207bba10edc89b399b0a54 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 5 Mar 2023 19:31:11 +0000 Subject: [PATCH] xfer --- veilid-core/src/routing_table/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/veilid-core/src/routing_table/mod.rs b/veilid-core/src/routing_table/mod.rs index c72d1f67..ab5d5645 100644 --- a/veilid-core/src/routing_table/mod.rs +++ b/veilid-core/src/routing_table/mod.rs @@ -969,6 +969,11 @@ impl RoutingTable { continue; } + // Don't register our own node + if self.matches_own_node_id(&p.node_ids) { + continue; + } + // Register the node if it's new if let Some(nr) = self.register_node_with_peer_info(RoutingDomain::PublicInternet, p, false)