main: support for ffmap-backend vpn link notation
This commit is contained in:
parent
07d5e3f636
commit
46de672dc9
|
@ -126,7 +126,7 @@ function (moment, Router, L, GUI, numeral) {
|
||||||
})
|
})
|
||||||
|
|
||||||
links.forEach( function (d) {
|
links.forEach( function (d) {
|
||||||
if (d.type === "tunnel") {
|
if (d.type === "tunnel" || d.vpn) {
|
||||||
d.type = "VPN"
|
d.type = "VPN"
|
||||||
d.isVPN = true
|
d.isVPN = true
|
||||||
} else if (d.type === "fastd") {
|
} else if (d.type === "fastd") {
|
||||||
|
|
Loading…
Reference in a new issue