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 /dhcpv6/dhcpv6message_test.go | |
parent | 8b87dd7716f621fbbfafc65f68f7ec016bebd73b (diff) |
dhcpv6: simplify boot file URL
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'dhcpv6/dhcpv6message_test.go')
-rw-r--r-- | dhcpv6/dhcpv6message_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv6/dhcpv6message_test.go b/dhcpv6/dhcpv6message_test.go index 2dd4a1c..d914e74 100644 --- a/dhcpv6/dhcpv6message_test.go +++ b/dhcpv6/dhcpv6message_test.go @@ -17,8 +17,8 @@ func TestIsNetboot(t *testing.T) { require.True(t, msg2.IsNetboot()) msg3 := Message{} - optbf := OptBootFileURL{} - msg3.AddOption(&optbf) + optbf := OptBootFileURL("") + msg3.AddOption(optbf) require.True(t, msg3.IsNetboot()) } |