You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ez...@apache.org on 2020/03/23 20:01:34 UTC
[trafficserver] branch master updated: Allow lo interface in list
of system stats (#6531)
This is an automated email from the ASF dual-hosted git repository.
eze pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new f849233 Allow lo interface in list of system stats (#6531)
f849233 is described below
commit f849233f99f3fd400976f49056524599fa7b31aa
Author: Evan Zelkowitz <ez...@apache.org>
AuthorDate: Mon Mar 23 13:01:27 2020 -0700
Allow lo interface in list of system stats (#6531)
---
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 d263eac..2ac2489 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;
}