summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2018-03-06 17:41:42 +0000
committerAndrea Barberio <insomniac@slackware.it>2018-03-06 17:41:42 +0000
commitc7becf01bdb2b1d0ddb829395250db1c0749d92a (patch)
treec3bd07fd23f12601edfd984ea6847dcccfc6f60c /dhcpv4
parent4d6cbd950505187f803b4f246d796174b811d1ab (diff)
Fixed types for BSDP too
Diffstat (limited to 'dhcpv4')
-rw-r--r--dhcpv4/bsdp/types.go28
1 files changed, 14 insertions, 14 deletions
diff --git a/dhcpv4/bsdp/types.go b/dhcpv4/bsdp/types.go
index 54f38e2..d640188 100644
--- a/dhcpv4/bsdp/types.go
+++ b/dhcpv4/bsdp/types.go
@@ -4,20 +4,20 @@ import "github.com/insomniacslk/dhcp/dhcpv4"
// Options (occur as sub-options of DHCP option 43).
const (
- OptionMessageType dhcpv4.OptionCode = iota + 1
- OptionVersion
- OptionServerIdentifier
- OptionServerPriority
- OptionReplyPort
- OptionBootImageListPath // Not used
- OptionDefaultBootImageID
- OptionSelectedBootImageID
- OptionBootImageList
- OptionNetboot1_0Firmware
- OptionBootImageAttributesFilterList
- OptionShadowMountPath dhcpv4.OptionCode = 128
- OptionShadowFilePath dhcpv4.OptionCode = 129
- OptionMachineName dhcpv4.OptionCode = 130
+ OptionMessageType dhcpv4.OptionCode = 1
+ OptionVersion dhcpv4.OptionCode = 2
+ OptionServerIdentifier dhcpv4.OptionCode = 3
+ OptionServerPriority dhcpv4.OptionCode = 4
+ OptionReplyPort dhcpv4.OptionCode = 5
+ OptionBootImageListPath dhcpv4.OptionCode = 6 // Not used
+ OptionDefaultBootImageID dhcpv4.OptionCode = 7
+ OptionSelectedBootImageID dhcpv4.OptionCode = 8
+ OptionBootImageList dhcpv4.OptionCode = 9
+ OptionNetboot1_0Firmware dhcpv4.OptionCode = 10
+ OptionBootImageAttributesFilterList dhcpv4.OptionCode = 11
+ OptionShadowMountPath dhcpv4.OptionCode = 128
+ OptionShadowFilePath dhcpv4.OptionCode = 129
+ OptionMachineName dhcpv4.OptionCode = 130
)
// Versions