themes/base: fix error r7144, location.host already includes the port number and...
[project/luci.git] / modules / admin-full / src / luci-bwc.c
index 9f1b420..4067c57 100644 (file)
@@ -344,6 +344,9 @@ static int run_daemon(int nofork)
 
                        while (fgets(line, sizeof(line), info))
                        {
+                               if (strstr(line, "TIME_WAIT"))
+                                       continue;
+
                                if (sscanf(line, "%*s %*d %s", ifname) || sscanf(line, "%s %*d", ifname))
                                {
                                        if (!strcmp(ifname, "tcp"))