This commit is contained in:
ston1th 2020-06-01 15:17:50 +02:00
commit 6de6e8001f
2 changed files with 5 additions and 1 deletions

View file

@ -32,6 +32,7 @@ func (s *Server) body() (httpbody, error) {
"searchdomain": s.SearchDomain,
}
userdata, err := s.UserData.String()
fmt.Println("--- plain:", userdata)
body["ciuserdata"] = userdata
for i, n := range s.NetDevices {
body["net"+strconv.Itoa(i)] = n.String()