done 2020

This commit is contained in:
nemunaire 2020-02-21 00:16:22 +01:00
commit 1d2199aaef
6 changed files with 90 additions and 64 deletions

View file

@ -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()