From: xchaos Date: Tue, 20 Oct 2015 01:42:21 +0000 (+0000) Subject: .. X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=commitdiff_plain;h=68184e0de9058fbf917d3c4b8fd287f1c4588b4e;hp=3335365b0903d2b1baf7331d17203490cdee65ea .. git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@254 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/prometheus.c b/prometheus.c index a243c16..f8ad197 100644 --- a/prometheus.c +++ b/prometheus.c @@ -1051,7 +1051,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); ptr++; if_exists(ip,ips,eq(ip->addr,_)) { - int unshape_this_ip; + int unshape_this_ip = 0; long avg_mbps_down = ip->traffic_down * 8 / how_much_seconds; long avg_mbps_up = ip->traffic_up * 8 / how_much_seconds; int agreg = 1, print_stats = 1;