use SIGAR_TCP_{IDLE,BOUND}

This commit is contained in:
Doug MacEachern 2005-03-12 02:17:36 +00:00
parent 634d83afbe
commit 7bb832181c
1 changed files with 2 additions and 2 deletions

View File

@ -1839,10 +1839,10 @@ static int tcp_connection_list_get(sigar_t *sigar,
conn->state = SIGAR_TCP_CLOSE;
break;
case TCPS_IDLE:
conn->state = SIGAR_TCP_UNKNOWN;/*XXX*/
conn->state = SIGAR_TCP_IDLE;
break;
case TCPS_BOUND:
conn->state = SIGAR_TCP_UNKNOWN;/*XXX*/
conn->state = SIGAR_TCP_BOUND;
break;
case TCPS_LISTEN:
conn->state = SIGAR_TCP_LISTEN;