re-add uplink detection, this time generic
fixes l2tp uplink detection
This commit is contained in:
parent
808b8c1986
commit
5599be5cd6
|
@ -157,6 +157,10 @@ function (moment, Router, L, GUI, numeral) {
|
|||
d.type = "N/A"
|
||||
d.isVPN = false
|
||||
}
|
||||
|
||||
if (d.isVPN && d.target.node)
|
||||
d.target.node.flags.uplink = true
|
||||
|
||||
var unknown = (d.source.node === undefined)
|
||||
if (unknown) {
|
||||
d.target.node.neighbours.push({ id: d.source.id, link: d, incoming: true })
|
||||
|
|
Loading…
Reference in a new issue