From fb24392bc0c7363f47335f7fb16eff4526689fa2 Mon Sep 17 00:00:00 2001 From: Evan Zelkowitz Date: Wed, 18 Mar 2020 21:26:27 +0000 Subject: [PATCH] Allow lo interface in list of system stats --- plugins/experimental/system_stats/system_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/experimental/system_stats/system_stats.c b/plugins/experimental/system_stats/system_stats.c index d263eacfbd8..2ac24891b26 100644 --- a/plugins/experimental/system_stats/system_stats.c +++ b/plugins/experimental/system_stats/system_stats.c @@ -160,7 +160,7 @@ netStatsInfo(TSMutex stat_creation_mutex) } while ((dent = readdir(srcdir)) != NULL) { - if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0 || strcmp(dent->d_name, "lo") == 0) { + if (strcmp(dent->d_name, ".") == 0 || strcmp(dent->d_name, "..") == 0) { continue; }