zero ifconfig in net_interface_config_get

This commit is contained in:
Doug MacEachern 2006-07-05 18:10:51 +00:00
parent 343cec7e9a
commit a58b419690
1 changed files with 2 additions and 0 deletions

View File

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