Skip to content

Commit

Permalink
Fix router push_declaration_profile computation
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Sep 20, 2024
1 parent 8b2566e commit 971d8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zenoh/src/net/routing/hat/router/interests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ impl HatInterestTrait for HatCode {

#[inline]
pub(super) fn push_declaration_profile(tables: &Tables, face: &FaceState) -> bool {
face.whatami == WhatAmI::Client
|| (face.whatami == WhatAmI::Peer && !hat!(tables).full_net(WhatAmI::Peer))
!(face.whatami == WhatAmI::Client
|| (face.whatami == WhatAmI::Peer && !hat!(tables).full_net(WhatAmI::Peer)))
}

0 comments on commit 971d8ac

Please sign in to comment.