summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/modifiers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/modifiers_test.go')
-rw-r--r--dhcpv6/modifiers_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv6/modifiers_test.go b/dhcpv6/modifiers_test.go
index 6fc6ae7..9bf2da4 100644
--- a/dhcpv6/modifiers_test.go
+++ b/dhcpv6/modifiers_test.go
@@ -12,7 +12,7 @@ import (
func TestWithClientID(t *testing.T) {
duid := Duid{
Type: DUID_LL,
- HwType: iana.HwTypeEthernet,
+ HwType: iana.HWTypeEthernet,
LinkLayerAddr: net.HardwareAddr([]byte{0xfa, 0xce, 0xb0, 0x00, 0x00, 0x0c}),
}
m, err := NewMessage(WithClientID(duid))
@@ -26,7 +26,7 @@ func TestWithClientID(t *testing.T) {
func TestWithServerID(t *testing.T) {
duid := Duid{
Type: DUID_LL,
- HwType: iana.HwTypeEthernet,
+ HwType: iana.HWTypeEthernet,
LinkLayerAddr: net.HardwareAddr([]byte{0xfa, 0xce, 0xb0, 0x00, 0x00, 0x0c}),
}
m, err := NewMessage(WithServerID(duid))