diff options
author | insomniac <insomniacslk@users.noreply.github.com> | 2018-05-10 11:52:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-10 11:52:34 +0200 |
commit | eab1c08cbc637f5d370bf84da1feba8673fb7cc3 (patch) | |
tree | 8398d039145e3a390a51ad3983d94d38cd8a48fd /netboot | |
parent | f371c3544b9bdfd70ceab7d96895e6069cd46462 (diff) |
OptDNSRecursiveNameServer gets public fields and tests, removes setter and getter (#62)
Diffstat (limited to 'netboot')
-rw-r--r-- | netboot/netconf.go | 2 |
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 { |