diff options
author | Christopher Koch <chrisko@google.com> | 2019-02-28 13:44:56 -0800 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-03-11 21:54:10 -0700 |
commit | 5073ba65eb176fae79fdca21f28728a0c2c4ca19 (patch) | |
tree | d617173503f875ab6294ce870a93ac7a9b56c2f6 /netboot/netconf.go | |
parent | 5859695ac2f7e59f6a7de0a0353aa1e1f19aa6aa (diff) |
dhcpv6: rename stuttering types.
dhcpv6.DHCPv6Message -> dhcpv6.Message
dhcpv6.DHCPv6Relay -> dhcpv6.RelayMessage
Diffstat (limited to 'netboot/netconf.go')
-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 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") |