include offline nodes in nodes.json

This commit is contained in:
Nils Schneider 2012-06-12 00:37:07 +02:00
parent 0d24e4518f
commit 54feeea4cd
2 changed files with 4 additions and 1 deletions

View file

@ -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()

View file

@ -371,6 +371,9 @@ function update() {
if (!visible.clients && d.flags.client)
return false
if (!d.flags.online)
return false
return true
})