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 d05fa80..0f40e26 100644
--- a/netboot/netconf.go
+++ b/netboot/netconf.go
@@ -31,7 +31,7 @@ type NetConf struct {
// GetNetConfFromPacketv6 extracts network configuration information from a DHCPv6
// Reply packet and returns a populated NetConf structure
-func GetNetConfFromPacketv6(d *dhcpv6.DHCPv6Message) (*NetConf, error) {
+func GetNetConfFromPacketv6(d *dhcpv6.Message) (*NetConf, error) {
opt := d.GetOneOption(dhcpv6.OptionIANA)
if opt == nil {
return nil, errors.New("No option IA NA found")