aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/identity.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/identity.rs')
-rw-r--r--src/transport/identity.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transport/identity.rs b/src/transport/identity.rs
index 1df84ec..0b36967 100644
--- a/src/transport/identity.rs
+++ b/src/transport/identity.rs
@@ -610,6 +610,12 @@ impl Transport for IdentityTransport {
self.shared.paths.rtt(&address)
}
+ /// Its proven paths, the one in use first.
+ fn suspect(&self, peer: &str) {
+ let addresses = self.shared.proven_at(peer, false);
+ self.shared.paths.suspect(&addresses);
+ }
+
/// The narrowest of its proven paths'.
fn clock_offset(&self, peer: &str) -> Option<crate::transport::paths::ClockOffset> {
self.shared