diff --git a/model/model.go b/model/model.go index 2eb8710..c21b7e2 100644 --- a/model/model.go +++ b/model/model.go @@ -184,6 +184,5 @@ type AccessMethods struct { type AccessMethodsType struct { Id *string `json:"id"` DnsSdMDns *DnsSdMDns `json:"dnsSd_mDns,omitempty"` - // According to the Spec Dns should be of type *Dns, but the SHM 2.0 only uses a string and would cause a crash - Dns *string `json:"dns,omitempty"` + Dns *Dns `json:"dns,omitempty"` }