summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/dhcpv6message_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/dhcpv6message_test.go')
-rw-r--r--dhcpv6/dhcpv6message_test.go4
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())
}