diff options
author | insomniac <insomniacslk@users.noreply.github.com> | 2018-05-20 01:03:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-20 01:03:40 +0100 |
commit | 1583a0641ef72c74238e2b21ac0ba3ca419ce079 (patch) | |
tree | f1250816bda6da41f0c9631384c6709a93062b76 | |
parent | bdb0bf25259985b962e230fbac5265a7623afd05 (diff) |
Unbreak build after changing OptIANA interface (#65)
-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 f8488fb..a9751dd 100644 --- a/netboot/netconf.go +++ b/netboot/netconf.go @@ -38,7 +38,7 @@ func GetNetConfFromPacketv6(d *dhcpv6.DHCPv6Message) (*NetConf, error) { // get IP configuration oiana := opt.(*dhcpv6.OptIANA) iaaddrs := make([]*dhcpv6.OptIAAddress, 0) - for _, o := range oiana.Options() { + for _, o := range oiana.Options { if o.Code() == dhcpv6.OPTION_IAADDR { iaaddrs = append(iaaddrs, o.(*dhcpv6.OptIAAddress)) } |