summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/dhcpv6_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/dhcpv6_test.go')
-rw-r--r--dhcpv6/dhcpv6_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/dhcpv6/dhcpv6_test.go b/dhcpv6/dhcpv6_test.go
index 6f476a1..dad07f6 100644
--- a/dhcpv6/dhcpv6_test.go
+++ b/dhcpv6/dhcpv6_test.go
@@ -180,9 +180,7 @@ func TestNewReplyFromMessage(t *testing.T) {
}
var duid Duid
msg.AddOption(OptClientID(duid))
- sid := OptServerId{}
- sid.Sid = Duid{}
- msg.AddOption(&sid)
+ msg.AddOption(OptServerID(duid))
rep, err := NewReplyFromMessage(&msg, WithServerID(duid))
require.NoError(t, err)