From c8760d87ae7858d721b175b7bbf2cb124d6627a7 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 18 Jul 2025 17:48:41 +1000 Subject: [PATCH] chore(connlib): log remote address on decapsulation error (#9903) --- rust/connlib/tunnel/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/connlib/tunnel/src/client.rs b/rust/connlib/tunnel/src/client.rs index 7e86db337..2b146b110 100644 --- a/rust/connlib/tunnel/src/client.rs +++ b/rust/connlib/tunnel/src/client.rs @@ -415,7 +415,7 @@ impl ClientState { packet.as_ref(), now, ) - .inspect_err(|e| tracing::debug!(%local, num_bytes = %packet.len(), "Failed to decapsulate: {e:#}")) + .inspect_err(|e| tracing::debug!(%local, %from, num_bytes = %packet.len(), "Failed to decapsulate: {e:#}")) .ok()??; if self.tcp_dns_client.accepts(&packet) {