aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/paths.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/paths.rs')
-rw-r--r--src/transport/paths.rs7
1 files changed, 7 insertions, 0 deletions
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<tokio::sync::Notify>) {
+ 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
/// (`<scheme>:...`) 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