From: xchaos Date: Fri, 13 Sep 2019 11:03:38 +0000 (+0000) Subject: bugfix - no data were logged if no IPV6 traffic detected, by mistake X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=commitdiff_plain;h=334291fb74ea2fe31fb39f4ff0249ba4a3c6764d;ds=sidebyside bugfix - no data were logged if no IPV6 traffic detected, by mistake git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@276 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/parseiptables.c b/parseiptables.c index b44c7ad..db984fa 100644 --- a/parseiptables.c +++ b/parseiptables.c @@ -21,7 +21,6 @@ void get_traffic_statistics(const char *whichiptables, int ipv6) { char *str,*cmd; int downloadflag = 0; - traffic_detected = 0; textfile(Pipe,str) *line,*lines=NULL; string(str,STRLEN);