checker: for each tun IP

This commit is contained in:
nemunaire 2021-03-04 01:32:09 +01:00
commit 9cd237daff
3 changed files with 90 additions and 79 deletions

View file

@ -60,7 +60,7 @@ func GetStudentTunnelIPs(student adlin.Student) (ips []string) {
ips = append(ips, adlin.StudentIP(student.Id).String()+"1")
} else {
for _, t := range ts {
ips = append(ips, t.GetTunnelIP())
ips = append(ips, t.GetStudentIP())
}
}
return