sum7
/
yaja
Archived
1
0
Fork 0

disable link to offline clients

This commit is contained in:
Martin/Geno 2018-02-11 11:19:56 +01:00
parent c7c7ff6f93
commit 8549f2fd32
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ func (t *Tester) Output() *Output {
for from, status := range t.Status { for from, status := range t.Status {
output.Status = append(output.Status, status) output.Status = append(output.Status, status)
if !status.Login {
continue
}
for to, linkOK := range status.Connections { for to, linkOK := range status.Connections {
var key string var key string
// keep source and target in the same order // keep source and target in the same order