diff options
author | Chris Koch <chrisko@google.com> | 2019-09-24 20:50:35 -0700 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-09-25 21:55:11 +0100 |
commit | f4eaaf1f283fe3dc826012a75e7ba0dc4ddc4c1e (patch) | |
tree | 6f96b7f5b6ba490db04f4505ac1e26c9e815449b /netboot | |
parent | 8b87dd7716f621fbbfafc65f68f7ec016bebd73b (diff) |
dhcpv6: simplify boot file URL
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'netboot')
-rw-r--r-- | netboot/netboot.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netboot/netboot.go b/netboot/netboot.go index bfa7ce5..6f113b6 100644 --- a/netboot/netboot.go +++ b/netboot/netboot.go @@ -123,8 +123,8 @@ func ConversationToNetconf(conversation []dhcpv6.DHCPv6) (*NetConf, string, erro } } if opt != nil { - obf := opt.(*dhcpv6.OptBootFileURL) - bootfile = string(obf.BootFileURL) + obf := opt.(dhcpv6.OptBootFileURL) + bootfile = string(obf) } return netconf, bootfile, nil } |