chore(connlib): enter debug span (#6758)

A span needs to be entered to be active.
This commit is contained in:
Thomas Eizinger
2024-09-18 12:42:25 -04:00
committed by GitHub
parent 06e9be62f5
commit 7bcbc4d030

View File

@@ -212,7 +212,7 @@ impl StubResolver {
packet: &IpPacket,
) -> Option<ResolveStrategy> {
let dst = packet.destination();
let _guard = tracing::debug_span!("packet", %dst);
let _guard = tracing::debug_span!("packet", %dst).entered();
let upstream = dns_mapping.get_by_left(&dst)?.address();
let Some(datagram) = packet.as_udp() else {