From caed46facd0c695adebc4f0eca9c51bb724e6887 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 12 Mar 2005 04:49:38 +0000 Subject: [PATCH] no net_connection queue metrics --- src/os/win32/win32_sigar.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/os/win32/win32_sigar.c b/src/os/win32/win32_sigar.c index b76bdeb2..270d1388 100644 --- a/src/os/win32/win32_sigar.c +++ b/src/os/win32/win32_sigar.c @@ -2019,6 +2019,8 @@ static int net_conn_get_tcp(sigar_t *sigar, sizeof(conn.remote_address), tcp->table[i].dwRemoteAddr); + conn.send_queue = conn.receive_queue = SIGAR_FIELD_NOTIMPL; + switch (state) { case MIB_TCP_STATE_CLOSED: conn.state = SIGAR_TCP_CLOSE; @@ -2110,6 +2112,8 @@ static int net_conn_get_udp(sigar_t *sigar, sizeof(conn.remote_address), udp->table[i].dwLocalAddr); + conn.send_queue = conn.receive_queue = SIGAR_FIELD_NOTIMPL; + SIGAR_NET_CONNLIST_GROW(connlist); memcpy(&connlist->data[connlist->number++], &conn, sizeof(conn));