summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_nii.go
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2018-03-06 10:26:13 +0000
committerAndrea Barberio <insomniac@slackware.it>2018-03-06 10:26:13 +0000
commitf197e911b8078698f150d8f31086df64ac900881 (patch)
tree05e8c9c93d5691fc91f1cfebacec96d652d6f6ae /dhcpv6/option_nii.go
parentac949192ce781902de712ea495b04fc84709ac2e (diff)
Fixed types in dhcpv4 and dhcpv6
Diffstat (limited to 'dhcpv6/option_nii.go')
-rw-r--r--dhcpv6/option_nii.go12
1 files changed, 6 insertions, 6 deletions
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{