done 2020
This commit is contained in:
parent
7682cae26c
commit
1d2199aaef
6 changed files with 90 additions and 64 deletions
|
|
@ -45,7 +45,7 @@ func getStudentIPs(student Student) (r map[string]string) {
|
|||
|
||||
r["vlan0"] = fmt.Sprintf("172.23.0.%d", student.IPSuffix())
|
||||
r["vlan7"] = fmt.Sprintf("172.23.142.%d", student.IPSuffix())
|
||||
r["wg"] = studentIP(student.Id)
|
||||
r["wg"] = studentIP(student.Id).String()
|
||||
r["adn"] = student.myAssociatedDomain()
|
||||
r["ddn"] = student.MyDelegatedDomain()
|
||||
|
||||
|
|
|
|||
Reference in a new issue