GIT.Harvie.CZ
/
svn
/
Prometheus-QoS
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not write empty logs when started
[svn/Prometheus-QoS/.git]
/
htmlandlogs.c
diff --git
a/htmlandlogs.c
b/htmlandlogs.c
index b6f9cb66602c080c23b220dd177cd2076a95df98..bff5cb3a5ec3de2479eb23ce5261bb6a071b3135 100644
(file)
--- a/
htmlandlogs.c
+++ b/
htmlandlogs.c
@@
-22,6
+22,7
@@
extern int found_lmsid;
extern char *lms_url;
\r
extern char *log_dir;
\r
extern char *ip6prefix;
\r
extern char *lms_url;
\r
extern char *log_dir;
\r
extern char *ip6prefix;
\r
+extern int traffic_detected;
\r
\r
const char *tr_odd_even(void);
\r
/* implemented in prometheus.c, shared with parselogs.c */
\r
\r
const char *tr_odd_even(void);
\r
/* implemented in prometheus.c, shared with parselogs.c */
\r
@@
-402,7
+403,7
@@
style=\"cursor: pointer;\">+%d</a>]</span>",
insert(sum,sums,order_by,i);
\r
}
\r
\r
insert(sum,sums,order_by,i);
\r
}
\r
\r
- if(!just_preview)
\r
+ if(!just_preview
&& traffic_detected
)
\r
{
\r
append_log(ip);
\r
for_each(sharedip,ips) if(eq(ip->name, sharedip->sharing))
\r
{
\r
append_log(ip);
\r
for_each(sharedip,ips) if(eq(ip->name, sharedip->sharing))
\r
This page took
0.132537 seconds
and
4
git commands to generate.