aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/libp2p/errors.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-01 13:27:28 +0100
committertv <tv@krebsco.de>2026-11-01 13:27:28 +0100
commit497eab7136b9d35101f4a5ffa81797efb85da390 (patch)
tree42f905ae30e95e2ac94fea34a0879efc3bbee98f /src/transport/libp2p/errors.rs
parent5723367a26ae0ec5f470b2e325a792cb31d661a6 (diff)
libp2p: relays use address ignore/route filter
Diffstat (limited to 'src/transport/libp2p/errors.rs')
-rw-r--r--src/transport/libp2p/errors.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/libp2p/errors.rs b/src/transport/libp2p/errors.rs
index e024b1c..bb6b090 100644
--- a/src/transport/libp2p/errors.rs
+++ b/src/transport/libp2p/errors.rs
@@ -76,6 +76,8 @@ pub(super) fn relay_refused(debug: &str, innermost: &str) -> bool {
"connection gated",
"UnsupportedProtocol",
"WrongPeerId",
+ // `Ignoring`: in a range left out, whoever dialled.
+ "IgnoredAddress",
];
refusals.iter().any(|pattern| debug.contains(pattern)) || innermost == "Failed"
}