summaryrefslogtreecommitdiffhomepage
path: root/netboot
diff options
context:
space:
mode:
authorinsomniac <insomniacslk@users.noreply.github.com>2018-05-12 02:08:20 +0100
committerGitHub <noreply@github.com>2018-05-12 02:08:20 +0100
commit5e40d13e338c363f111c326987b14023db25c40d (patch)
tree3de3f34d8cbf647a6303b2d923fb4c22627c810c /netboot
parentd7cd0594274352de80d86a3bf32b487dfde63629 (diff)
OptDomainSearchList: made fields public and added unit tests (#64)
Diffstat (limited to 'netboot')
-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
}