From ca3c436813b0ee894922bf4c8bc2b66c166a2c8d Mon Sep 17 00:00:00 2001 From: Daniel Ehlers Date: Mon, 18 Nov 2013 23:41:27 +0100 Subject: [PATCH] Reduce clientCounter for every node. We have an ghost client for every node, we don't want them in the global client measurement. --- rrd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rrd.py b/rrd.py index dae7b4f..ddc25b5 100755 --- a/rrd.py +++ b/rrd.py @@ -113,6 +113,7 @@ class rrd: if not node.flags['client']: nodes[node.id] = node node.clients = 0; + clientCount -= 1 else: clientCount += 1 for link in db.get_links():