Use the address of the inpcb rather than the tcpcb to identify TCP
connections. This keeps the tcp provider consistent with the other network providers. Approved by: re (delphij)
This commit is contained in:
parent
5a92968ca6
commit
9feec372db
@ -144,7 +144,7 @@ typedef struct tcpinfo {
|
||||
#pragma D binding "1.0" translator
|
||||
translator csinfo_t < struct tcpcb *p > {
|
||||
cs_addr = NULL;
|
||||
cs_cid = (uint64_t)p;
|
||||
cs_cid = (uint64_t)(p == NULL ? 0 : p->t_inpcb);
|
||||
cs_pid = 0;
|
||||
cs_zoneid = 0;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user