aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/libp2p/errors.rs
diff options
context:
space:
mode:
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"
}