From 8fc0bb43e15e9ffa99777e478162c101557d505b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 1 Nov 2026 23:08:48 +0100 Subject: probe when reachable --- src/transport/paths.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/transport/paths.rs') diff --git a/src/transport/paths.rs b/src/transport/paths.rs index ba8581f..164574d 100644 --- a/src/transport/paths.rs +++ b/src/transport/paths.rs @@ -708,6 +708,13 @@ impl Paths { } } + /// Each transport's (`Transport::on_reachable`). + pub(crate) fn on_reachable(&self, reachable: std::sync::Arc) { + for link in &self.links { + link.inner.on_reachable(reachable.clone()); + } + } + /// The address of the node a seed leads to, as paths keep it: an address of ours /// (`:...`) whose transport reads it at once; with a scheme of ours, what /// that transport resolves the rest to (an address the transport can't read as an -- cgit v1.3.1