don't hide vpn hosts, only hide links
This commit is contained in:
parent
a0adb74269
commit
5484c34581
2 changed files with 2 additions and 5 deletions
|
@ -186,7 +186,7 @@ var linkedByIndex
|
|||
|
||||
var force = d3.layout.force()
|
||||
.charge(-100)
|
||||
.gravity(0.02)
|
||||
.gravity(0.07)
|
||||
.friction(0.75)
|
||||
.theta(0.1)
|
||||
.size([w, h])
|
||||
|
|
|
@ -174,10 +174,7 @@ class NodeDB:
|
|||
node.name = alias['name']
|
||||
|
||||
if 'vpn' in alias and alias['vpn']:
|
||||
node.flags['vpn'] = True
|
||||
|
||||
for k, v in node.interfaces.items():
|
||||
node.interfaces[k].vpn = "vpn"
|
||||
node.interfaces[mac].vpn = True
|
||||
|
||||
# list of macs
|
||||
# if options['gateway']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue