use sigar_net_interface_flags_to_string
This commit is contained in:
1 parent
bcbf080fe9
commit
a919d9457f
3 files changed
+11
-32
No files matched your search
@@ -480,6 +480,8 @@ SIGAR_DECLARE(const char *)sigar_net_connection_state_get(int state)
|
||||
|
||||
SIGAR_DECLARE(char *) sigar_net_interface_flags_to_string(sigar_uint64_t flags, char *buf)
|
||||
{
|
||||
*buf = '\0';
|
||||
|
||||
if (flags == 0) {
|
||||
strcat(buf, "[NO FLAGS] ");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user