Compare commits
3 commits
master
...
l2tp-quick
Author | SHA1 | Date | |
---|---|---|---|
![]() |
dc6d3f24ca | ||
![]() |
312fa6b8fd | ||
![]() |
be01654f08 |
1 changed files with 6 additions and 6 deletions
12
lib/main.js
12
lib/main.js
|
@ -113,13 +113,13 @@ function (moment, Router, L, GUI, numeral) {
|
||||||
})
|
})
|
||||||
|
|
||||||
links.forEach( function (d) {
|
links.forEach( function (d) {
|
||||||
if (d.type === "tunnel")
|
if (d.type === "wireless")
|
||||||
d.type = "VPN"
|
|
||||||
else if (d.type === "wireless")
|
|
||||||
d.type = "Wifi"
|
d.type = "Wifi"
|
||||||
else if (d.type === "other")
|
else if (d.type === "other") {
|
||||||
d.type = "Kabel"
|
d.type = "VPN"
|
||||||
else
|
if (d.target.node)
|
||||||
|
d.target.node.flags.uplink = true
|
||||||
|
} else
|
||||||
d.type = "N/A"
|
d.type = "N/A"
|
||||||
var unknown = (d.source.node === undefined)
|
var unknown = (d.source.node === undefined)
|
||||||
if (unknown) {
|
if (unknown) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue