diff options
author | insomniac <insomniacslk@users.noreply.github.com> | 2018-03-06 18:28:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 18:28:56 +0000 |
commit | e9ebad02f2f8c0bc7b4feb67bdbeeb10f9e8174e (patch) | |
tree | 0e7e67adebf7285be223a998daef706a94b3cd67 /dhcpv6/option_nii.go | |
parent | eed1649adf6d25016f0551cac65a06102085cc8c (diff) | |
parent | fe4f99d21bfe3872e356e7999f3cd1654ea9d92e (diff) |
Merge pull request #5 from insomniacslk/fix_types
Fixed types in dhcpv4 and dhcpv6
Diffstat (limited to 'dhcpv6/option_nii.go')
-rw-r--r-- | dhcpv6/option_nii.go | 12 |
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{ |