Skip to content

Commit

Permalink
Fix c format
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Aug 1, 2023
1 parent 4a6eea4 commit 32eaadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firewall/interception/ebpf/programs/monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ int BPF_PROG(tcp_connect, struct sock *sk) {
return 0;
}

// Read PID (Careful: This is the Thread Group ID in kernel speak!)
// Read PID (Careful: This is the Thread Group ID in kernel speak!)
tcp_info->pid = __builtin_bswap32((u32)(bpf_get_current_pid_tgid() >> 32));

// Set protocol
Expand Down

0 comments on commit 32eaadd

Please sign in to comment.