Add net_interface_config.description
This commit is contained in:
1 parent
8cc89cd367
commit
81a29ba2a2
8 files changed
+29
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user