summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/src/luci-bwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-admin-full/src/luci-bwc.c')
-rw-r--r--modules/luci-mod-admin-full/src/luci-bwc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-mod-admin-full/src/luci-bwc.c b/modules/luci-mod-admin-full/src/luci-bwc.c
index 63668d42b3..8ddd91727a 100644
--- a/modules/luci-mod-admin-full/src/luci-bwc.c
+++ b/modules/luci-mod-admin-full/src/luci-bwc.c
@@ -521,8 +521,8 @@ static int run_daemon(void)
if (strstr(line, "TIME_WAIT"))
continue;
- if (strstr(line, "src=127.0.0.1 ") &&
- strstr(line, "dst=127.0.0.1 "))
+ if ((strstr(line, "src=127.0.0.1 ") && strstr(line, "dst=127.0.0.1 "))
+ || (strstr(line, "src=::1 ") && strstr(line, "dst=::1 ")))
continue;
if (sscanf(line, "%*s %*d %s", ifname) || sscanf(line, "%s %*d", ifname))