tcpstates: incorrect display of dport
fix incorrect display of dport for kprobe attachment in tcpstates
@@ -182,6 +182,7 @@ int kprobe__tcp_set_state(struct pt_regs *ctx, struct sock *sk, int state)
// dport is either used in a filter here, or later
u16 dport = sk->__sk_common.skc_dport;
+ dport = ntohs(dport);
FILTER_DPORT
// calculate delta
