From eab1c08cbc637f5d370bf84da1feba8673fb7cc3 Mon Sep 17 00:00:00 2001 From: insomniac Date: Thu, 10 May 2018 11:52:34 +0200 Subject: OptDNSRecursiveNameServer gets public fields and tests, removes setter and getter (#62) --- netboot/netconf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netboot/netconf.go') diff --git a/netboot/netconf.go b/netboot/netconf.go index 4740b0f..47ccdc4 100644 --- a/netboot/netconf.go +++ b/netboot/netconf.go @@ -61,7 +61,7 @@ func GetNetConfFromPacketv6(d *dhcpv6.DHCPv6Message) (*NetConf, error) { } odnsserv := opt.(*dhcpv6.OptDNSRecursiveNameServer) // TODO should this be copied? - netconf.DNSServers = odnsserv.NameServers() + netconf.DNSServers = odnsserv.NameServers opt = d.GetOneOption(dhcpv6.DOMAIN_SEARCH_LIST) if opt == nil { -- cgit v1.2.3