From e94cd5cdb0589a9ac380f57a515b4e31e4e8e459 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 20 Dec 2005 00:10:57 +0000 Subject: [PATCH] get_if_entry=NULL on lookup failure --- src/os/win32/win32_sigar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/win32/win32_sigar.c b/src/os/win32/win32_sigar.c index ecfce176..563e3e89 100644 --- a/src/os/win32/win32_sigar.c +++ b/src/os/win32/win32_sigar.c @@ -257,6 +257,7 @@ int sigar_os_open(sigar_t **sigar) (*sigar)->ip_handle = h; } else { + (*sigar)->get_if_entry = NULL; (*sigar)->get_if_table = NULL; (*sigar)->get_ipforward_table = NULL; (*sigar)->ip_handle = NULL;