diff --git a/d3mapbuilder.py b/d3mapbuilder.py index 40faf37..eec5403 100644 --- a/d3mapbuilder.py +++ b/d3mapbuilder.py @@ -13,7 +13,7 @@ class D3MapBuilder: 'macs': ', '.join(x.macs), 'geo': x.gps.split(" ") if x.gps else None, 'flags': x.flags - } for x in nodes if x.flags['online']] + } for x in nodes] links = self._db.get_links() diff --git a/html/force.js b/html/force.js index ffd1b64..f7e856a 100644 --- a/html/force.js +++ b/html/force.js @@ -371,6 +371,9 @@ function update() { if (!visible.clients && d.flags.client) return false + if (!d.flags.online) + return false + return true })