From cd6df9317ef800975cb6c89bb220a9da58928f96 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 16 Mar 2005 03:54:05 +0000 Subject: [PATCH] use protocol param in proc_port --- src/os/linux/linux_sigar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/os/linux/linux_sigar.c b/src/os/linux/linux_sigar.c index 30bee9f7..342d3a1e 100644 --- a/src/os/linux/linux_sigar.c +++ b/src/os/linux/linux_sigar.c @@ -1743,8 +1743,7 @@ int sigar_proc_port_get(sigar_t *sigar, int protocol, *pid = 0; status = sigar_net_connection_get(sigar, &netconn, port, - SIGAR_NETCONN_SERVER| - SIGAR_NETCONN_TCP|SIGAR_NETCONN_UDP); + SIGAR_NETCONN_SERVER|protocol); if (status != SIGAR_OK) { return status;