get_if_entry=NULL on lookup failure

This commit is contained in:
Doug MacEachern 2005-12-20 00:10:57 +00:00
parent 39c1337f71
commit e94cd5cdb0
1 changed files with 1 additions and 0 deletions

View File

@ -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;