checker: for each tun IP
This commit is contained in:
parent
0af7437693
commit
9cd237daff
3 changed files with 90 additions and 79 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue