Skip to content

Commit 5856469

Browse files
committed
Update comment, revert condition change for inferring connection info to find local_addr if accept/connect not traced
Signed-off-by: Benjamin Kilimnik <bkilimnik@pixielabs.ai>
1 parent 2e030f7 commit 5856469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stirling/source_connectors/socket_tracer/conn_tracker.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ void ConnTracker::IterationPreTick(
796796
}
797797

798798
// If remote_addr is missing, it means the connect/accept was not traced.
799-
// Attempt to infer the connection information, to populate remote_addr.
799+
// Attempt to infer the connection information, to populate remote_addr and local_addr.
800800
if (open_info_.remote_addr.family == SockAddrFamily::kUnspecified && socket_info_mgr != nullptr) {
801801
InferConnInfo(proc_parser, socket_info_mgr);
802802

0 commit comments

Comments
 (0)