Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pawsten committed Nov 13, 2023
1 parent 45255b9 commit 0ae76d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bpf_program/tuples_utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static int read_ipv4_tuple(struct ipv4_tuple_t *tuple, struct guess_status_t *st

tuple->saddr = saddr;
tuple->daddr = daddr;
tuple->sport = sport; // TODO pjuszczyk Check if sport doesn't need to be flipped in some cases
tuple->sport = sport;
tuple->dport = ntohs(dport);
tuple->netns = net_ns_inum;

Expand Down

0 comments on commit 0ae76d3

Please sign in to comment.