summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/prettyprint_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/prettyprint_test.go')
-rw-r--r--dhcpv6/prettyprint_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/prettyprint_test.go b/dhcpv6/prettyprint_test.go
index 7b839ef..def212c 100644
--- a/dhcpv6/prettyprint_test.go
+++ b/dhcpv6/prettyprint_test.go
@@ -73,7 +73,7 @@ func TestPrint(t *testing.T) {
WithOption(OptRelayPort(1026)),
WithOption(&OptRemoteID{EnterpriseNumber: 300, RemoteID: []byte{0xde, 0xad, 0xbe, 0xed}}),
WithOption(OptRequestedOption(OptionBootfileURL, OptionBootfileParam)),
- WithOption(OptServerID(Duid{Type: DUID_LL, HwType: iana.HWTypeEthernet, LinkLayerAddr: net.HardwareAddr{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}})),
+ WithOption(OptServerID(&DUIDLL{HWType: iana.HWTypeEthernet, LinkLayerAddr: net.HardwareAddr{0x1, 0x2, 0x3, 0x4, 0x5, 0x6}})),
WithOption(&OptUserClass{[][]byte{[]byte("foo"), []byte("bar")}}),
WithOption(oneiana),
WithOption(oneiata),