summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/async/client_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/async/client_test.go')
-rw-r--r--dhcpv6/async/client_test.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/dhcpv6/async/client_test.go b/dhcpv6/async/client_test.go
index 9b58112..8603248 100644
--- a/dhcpv6/async/client_test.go
+++ b/dhcpv6/async/client_test.go
@@ -8,7 +8,6 @@ import (
"github.com/insomniacslk/dhcp/dhcpv6"
"github.com/insomniacslk/dhcp/dhcpv6/client6"
- "github.com/insomniacslk/dhcp/iana"
"github.com/stretchr/testify/require"
)
@@ -20,13 +19,7 @@ func solicit(input string) (*dhcpv6.Message, error) {
if err != nil {
return nil, err
}
- duid := dhcpv6.Duid{
- Type: dhcpv6.DUID_LLT,
- HwType: iana.HWTypeEthernet,
- Time: dhcpv6.GetTime(),
- LinkLayerAddr: mac,
- }
- return dhcpv6.NewSolicitWithCID(duid)
+ return dhcpv6.NewSolicit(mac)
}
// server creates a server which responds with a predefined response