Skip to content

Commit

Permalink
Fix router push_declaration_profile computation (#1460)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart authored Sep 20, 2024
1 parent 8b2566e commit f60f136
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 f60f136

Please sign in to comment.