Skip to content

Commit

Permalink
solisten: fix address endianness
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Tiare Le Bigot <[email protected]>
  • Loading branch information
yadutaf committed Nov 18, 2017
1 parent ed5c381 commit 6e2eaf8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/solisten.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
// Get IP
if (family == AF_INET) {
evt.laddr[0] = inet->inet_rcv_saddr;
evt.laddr[0] = be32_to_cpu(evt.laddr[0]);
} else if (family == AF_INET6) {
bpf_probe_read(evt.laddr, sizeof(evt.laddr),
sk->__sk_common.skc_v6_rcv_saddr.in6_u.u6_addr32);
Expand Down

0 comments on commit 6e2eaf8

Please sign in to comment.