zero ifconfig in net_interface_config_get
This commit is contained in:
parent
343cec7e9a
commit
a58b419690
|
@ -1589,6 +1589,8 @@ int sigar_net_interface_config_get(sigar_t *sigar, const char *name,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SIGAR_ZERO(ifconfig);
|
||||||
|
|
||||||
iter.type = IFMSG_ITER_GET;
|
iter.type = IFMSG_ITER_GET;
|
||||||
iter.name = name;
|
iter.name = name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue