mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 15:27:57 +00:00
Inject FromSwarm::NewListenAddr to mDNS (#14478)
This commit is contained in:
@@ -663,6 +663,10 @@ impl NetworkBehaviour for DiscoveryBehaviour {
|
||||
},
|
||||
FromSwarm::NewListenAddr(e) => {
|
||||
self.kademlia.on_swarm_event(FromSwarm::NewListenAddr(e));
|
||||
|
||||
if let Some(ref mut mdns) = self.mdns {
|
||||
mdns.on_swarm_event(FromSwarm::NewListenAddr(e));
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user