Add net_interface_config.description

This commit is contained in:
Doug MacEachern committed 2006-03-04 22:28:09 +00:00
1 parent 8cc89cd367
commit 81a29ba2a2
8 files changed
+29

No files matched your search

+4
View File
@@ -1798,6 +1798,10 @@ int sigar_net_interface_config_get(sigar_t *sigar, const char *name,
close(sock);
/* XXX can we get a better description like win32? */
SIGAR_SSTRCPY(ifconfig->description,
ifconfig->name);
return SIGAR_OK;
}