summaryrefslogtreecommitdiffhomepage
path: root/netboot/netconf.go
diff options
context:
space:
mode:
authorinsomniac <insomniacslk@users.noreply.github.com>2018-05-10 11:52:34 +0200
committerGitHub <noreply@github.com>2018-05-10 11:52:34 +0200
commiteab1c08cbc637f5d370bf84da1feba8673fb7cc3 (patch)
tree8398d039145e3a390a51ad3983d94d38cd8a48fd /netboot/netconf.go
parentf371c3544b9bdfd70ceab7d96895e6069cd46462 (diff)
OptDNSRecursiveNameServer gets public fields and tests, removes setter and getter (#62)
Diffstat (limited to 'netboot/netconf.go')
-rw-r--r--netboot/netconf.go2
1 files changed, 1 insertions, 1 deletions
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 {