commit | 10dac5fcdecd1afee08a3918feb744abeff81432 | [log] [tgz] |
---|---|---|
author | Rosen <rosenluov@gmail.com> | Wed Aug 04 02:26:23 2021 +0800 |
committer | GitHub <noreply@github.com> | Tue Aug 03 11:26:23 2021 -0700 |
tree | 57436cdeea1c0875a3178dcfbce988ef5ee80b88 | |
parent | ada66f92ff9b384041545e92686263f47bb32048 [diff] [blame] |
tcpstates: incorrect display of dport (#3560) fix incorrect display of dport for kprobe attachment in tcpstates
diff --git a/tools/tcpstates.py b/tools/tcpstates.py index 5c04f45..ec5bb7b 100755 --- a/tools/tcpstates.py +++ b/tools/tcpstates.py
@@ -182,6 +182,7 @@ // dport is either used in a filter here, or later u16 dport = sk->__sk_common.skc_dport; + dport = ntohs(dport); FILTER_DPORT // calculate delta