From 49c3e4b2a084930e9c16589a299836d2559ac250 Mon Sep 17 00:00:00 2001 From: Daniel Canter Date: Mon, 14 Jun 2021 16:26:40 -0700 Subject: [PATCH] Add DNSDomain to hns endpoint object It was missing from our go definition. For instance if the hcn definitions were used to set the dns information/make the endpoint and then we requery for the endpoint with the v1 hns schema/calls, this information won't be present. This controls the `Connection-specific DNS Suffix` you'd see on ipconfig for example. Signed-off-by: Daniel Canter --- internal/hns/hnsendpoint.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/hns/hnsendpoint.go b/internal/hns/hnsendpoint.go index b36315a397..6f899c0d05 100644 --- a/internal/hns/hnsendpoint.go +++ b/internal/hns/hnsendpoint.go @@ -20,6 +20,7 @@ type HNSEndpoint struct { IPv6Address net.IP `json:",omitempty"` DNSSuffix string `json:",omitempty"` DNSServerList string `json:",omitempty"` + DNSDomain string `json:",omitempty"` GatewayAddress string `json:",omitempty"` GatewayAddressV6 string `json:",omitempty"` EnableInternalDNS bool `json:",omitempty"`