projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1576 from stangri/luci-app-advanced-reboot
[project/luci.git]
/
modules
/
luci-mod-admin-full
/
src
/
luci-bwc.c
diff --git
a/modules/luci-mod-admin-full/src/luci-bwc.c
b/modules/luci-mod-admin-full/src/luci-bwc.c
index
05e4667
..
8ddd917
100644
(file)
--- a/
modules/luci-mod-admin-full/src/luci-bwc.c
+++ b/
modules/luci-mod-admin-full/src/luci-bwc.c
@@
-1,7
+1,7
@@
/*
* luci-bwc - Very simple bandwidth collector cache for LuCI realtime graphs
*
/*
* luci-bwc - Very simple bandwidth collector cache for LuCI realtime graphs
*
- * Copyright (C) 2010 Jo-Philipp Wich <
xm@subsignal
.org>
+ * Copyright (C) 2010 Jo-Philipp Wich <
jow@openwrt
.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-521,8
+521,8
@@
static int run_daemon(void)
if (strstr(line, "TIME_WAIT"))
continue;
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))
continue;
if (sscanf(line, "%*s %*d %s", ifname) || sscanf(line, "%s %*d", ifname))