chore(connlib): log remote address on decapsulation error (#9903)

This commit is contained in:
Thomas Eizinger
2025-07-18 17:48:41 +10:00
committed by GitHub
parent c4457bf203
commit c8760d87ae

View File

@@ -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) {