Skip to content

Commit ffbe455

Browse files
authored
Read the gossip autoconnect config from the GossipConf instead of the ScoutingMulticastConf (#2011)
1 parent 6f9cfa0 commit ffbe455

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zenoh/src/net/common.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ impl AutoConnect {
2929
pub(crate) fn gossip(config: &Config, what: WhatAmI, zid: ZenohIdProto) -> Self {
3030
Self {
3131
zid,
32-
matcher: *unwrap_or_default!(config.scouting().multicast().autoconnect().get(what)),
32+
matcher: *unwrap_or_default!(config.scouting().gossip().autoconnect().get(what)),
3333
strategy: *unwrap_or_default!(config
3434
.scouting()
35-
.multicast()
35+
.gossip()
3636
.autoconnect_strategy()
3737
.get(what)),
3838
}

0 commit comments

Comments
 (0)