use SIGAR_TCP_{IDLE,BOUND}
This commit is contained in:
parent
634d83afbe
commit
7bb832181c
|
@ -1839,10 +1839,10 @@ static int tcp_connection_list_get(sigar_t *sigar,
|
||||||
conn->state = SIGAR_TCP_CLOSE;
|
conn->state = SIGAR_TCP_CLOSE;
|
||||||
break;
|
break;
|
||||||
case TCPS_IDLE:
|
case TCPS_IDLE:
|
||||||
conn->state = SIGAR_TCP_UNKNOWN;/*XXX*/
|
conn->state = SIGAR_TCP_IDLE;
|
||||||
break;
|
break;
|
||||||
case TCPS_BOUND:
|
case TCPS_BOUND:
|
||||||
conn->state = SIGAR_TCP_UNKNOWN;/*XXX*/
|
conn->state = SIGAR_TCP_BOUND;
|
||||||
break;
|
break;
|
||||||
case TCPS_LISTEN:
|
case TCPS_LISTEN:
|
||||||
conn->state = SIGAR_TCP_LISTEN;
|
conn->state = SIGAR_TCP_LISTEN;
|
||||||
|
|
Loading…
Reference in New Issue