From 2005568c1e6813386a2c845bb98aec91a6b812c2 Mon Sep 17 00:00:00 2001 From: Pierre Avital Date: Wed, 4 Oct 2023 11:54:59 +0200 Subject: [PATCH] fix complete_n a bit --- zenoh/src/net/routing/queries.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zenoh/src/net/routing/queries.rs b/zenoh/src/net/routing/queries.rs index 191c0a8071..c55cfc046c 100644 --- a/zenoh/src/net/routing/queries.rs +++ b/zenoh/src/net/routing/queries.rs @@ -2178,7 +2178,7 @@ pub fn route_query( ext_qos: ext::QoSType::request_default(), // TODO ext_tstamp: None, ext_nodeid: ext::NodeIdType { - node_id: context.map(|c| c.tree_id).unwrap_or(0) as u16, + node_id: context.unwrap_or(0), }, ext_target: *t, ext_budget: None,