get_if_entry=NULL on lookup failure
This commit is contained in:
parent
39c1337f71
commit
e94cd5cdb0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue