summaryrefslogtreecommitdiffhomepage
path: root/netboot/netconf.go
diff options
context:
space:
mode:
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 47ccdc4..f8488fb 100644
--- a/netboot/netconf.go
+++ b/netboot/netconf.go
@@ -69,7 +69,7 @@ func GetNetConfFromPacketv6(d *dhcpv6.DHCPv6Message) (*NetConf, error) {
}
odomains := opt.(*dhcpv6.OptDomainSearchList)
// TODO should this be copied?
- netconf.DNSSearchList = odomains.DomainSearchList()
+ netconf.DNSSearchList = odomains.DomainSearchList
return &netconf, nil
}