summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/duid.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/duid.go')
-rw-r--r--dhcpv6/duid.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/dhcpv6/duid.go b/dhcpv6/duid.go
index 8572349..22529c2 100644
--- a/dhcpv6/duid.go
+++ b/dhcpv6/duid.go
@@ -3,6 +3,7 @@ package dhcpv6
import (
"encoding/binary"
"fmt"
+ "net"
"github.com/insomniacslk/dhcp/iana"
)
@@ -28,7 +29,7 @@ type Duid struct {
Type DuidType
HwType iana.HwTypeType // for DUID-LLT and DUID-LL. Ignored otherwise. RFC 826
Time uint32 // for DUID-LLT. Ignored otherwise
- LinkLayerAddr []byte
+ LinkLayerAddr net.HardwareAddr
EnterpriseNumber uint32 // for DUID-EN. Ignored otherwise
EnterpriseIdentifier []byte // for DUID-EN. Ignored otherwise
Uuid []byte // for DUID-UUID. Ignored otherwise