From 436278dfc6e1278c47c03aead7623de6417c68c2 Mon Sep 17 00:00:00 2001 From: OlivierHecart Date: Mon, 9 Sep 2024 11:13:41 +0200 Subject: [PATCH] Add comments --- zenoh/src/net/routing/hat/p2p_peer/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zenoh/src/net/routing/hat/p2p_peer/mod.rs b/zenoh/src/net/routing/hat/p2p_peer/mod.rs index c2d4db4673..e68c2232fc 100644 --- a/zenoh/src/net/routing/hat/p2p_peer/mod.rs +++ b/zenoh/src/net/routing/hat/p2p_peer/mod.rs @@ -443,9 +443,9 @@ fn get_routes_entries() -> RoutesIndexes { // In p2p, at connection, while no interest is sent on the network, // peers act as if they received an interest CurrentFuture with id 0 -// and send back a ReplyFinal with interest_id 0. +// and send back a DeclareFinal with interest_id 0. // This 'ghost' interest is registered locally to allow tracking if -// the reply final has been received or not (finalized). +// the DeclareFinal has been received or not (finalized). const INITIAL_INTEREST_ID: u32 = 0;