From 1583a0641ef72c74238e2b21ac0ba3ca419ce079 Mon Sep 17 00:00:00 2001 From: insomniac Date: Sun, 20 May 2018 01:03:40 +0100 Subject: Unbreak build after changing OptIANA interface (#65) --- netboot/netconf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netboot') 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)) } -- cgit v1.2.3