use sigar_net_interface_flags_to_string

This commit is contained in:
Doug MacEachern committed 2007-09-03 03:08:19 +00:00
1 parent bcbf080fe9
commit a919d9457f
3 files changed
+11 -32

No files matched your search

+2
View File
@@ -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] ");
}