From 4d6cbd950505187f803b4f246d796174b811d1ab Mon Sep 17 00:00:00 2001 From: Andrea Barberio Date: Tue, 6 Mar 2018 10:26:13 +0000 Subject: Fixed types in dhcpv4 and dhcpv6 --- dhcpv6/duid.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dhcpv6/duid.go') 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{ -- cgit v1.2.3