summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/duid.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/duid.go')
-rw-r--r--dhcpv6/duid.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/dhcpv6/duid.go b/dhcpv6/duid.go
index e3da8ff..112412d 100644
--- a/dhcpv6/duid.go
+++ b/dhcpv6/duid.go
@@ -3,16 +3,16 @@ package dhcpv6
import (
"encoding/binary"
"fmt"
+
"github.com/insomniacslk/dhcp/iana"
)
type DuidType uint16
const (
- _ DuidType = iota
- DUID_LLT
- DUID_EN
- DUID_LL
+ DUID_LLT DuidType = 1
+ DUID_EN DuidType = 2
+ DUID_LL DuidType = 3
)
var DuidTypeToString = map[DuidType]string{