diff options
author | Chris Koch <chrisko@google.com> | 2023-02-18 23:55:40 -0800 |
---|---|---|
committer | Chris K <c@chrisko.ch> | 2023-02-19 13:39:52 -0800 |
commit | 93dbaf95ae931da311e1671fd0f470f2aa5f6980 (patch) | |
tree | 9e316e50ebcece3b96f0c4261c63d32af8fa2c32 /dhcpv6/prettyprint_test.go | |
parent | f51b4d4530334a45ccb40368ada7930d269ef44a (diff) |
dhcpv6: proper DUID types
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'dhcpv6/prettyprint_test.go')
-rw-r--r-- | dhcpv6/prettyprint_test.go | 2 |
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), |