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/option_nii.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dhcpv6/option_nii.go') diff --git a/dhcpv6/option_nii.go b/dhcpv6/option_nii.go index 85c9d4b..3a838ee 100644 --- a/dhcpv6/option_nii.go +++ b/dhcpv6/option_nii.go @@ -10,12 +10,12 @@ import ( // see rfc4578 const ( - NII_LANDESK_NOPXE = iota - NII_PXE_GEN_I - NII_PXE_GEN_II - NII_UNDI_NOEFI - NII_UNDI_EFI_GEN_I - NII_UNDI_EFI_GEN_II + NII_LANDESK_NOPXE = 0 + NII_PXE_GEN_I = 1 + NII_PXE_GEN_II = 2 + NII_UNDI_NOEFI = 3 + NII_UNDI_EFI_GEN_I = 4 + NII_UNDI_EFI_GEN_II = 5 ) var NIIToStringMap = map[uint8]string{ -- cgit v1.2.3