set queue metrics
This commit is contained in:
parent
0926157b8b
commit
ad50c42292
|
@ -2093,6 +2093,8 @@ static int net_conn_get_tcp(sigar_t *sigar,
|
||||||
conn->local_port = ntohs(pcb.inp_lport);
|
conn->local_port = ntohs(pcb.inp_lport);
|
||||||
conn->remote_port = ntohs(pcb.inp_fport);
|
conn->remote_port = ntohs(pcb.inp_fport);
|
||||||
|
|
||||||
|
conn->send_queue = conn->receive_queue = SIGAR_FIELD_NOTIMPL;
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case TCPS_CLOSED:
|
case TCPS_CLOSED:
|
||||||
conn->state = SIGAR_TCP_CLOSE;
|
conn->state = SIGAR_TCP_CLOSE;
|
||||||
|
|
Loading…
Reference in New Issue