summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/dhcpv4.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/dhcpv4.go')
-rw-r--r--dhcpv4/dhcpv4.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/dhcpv4/dhcpv4.go b/dhcpv4/dhcpv4.go
index cfb2f9a..b15c9e2 100644
--- a/dhcpv4/dhcpv4.go
+++ b/dhcpv4/dhcpv4.go
@@ -33,10 +33,10 @@ const (
// minPacketLen is the minimum DHCP header length.
minPacketLen = 236
- // Maximum length of the ClientHWAddr (client hardware address) according to
- // RFC 2131, Section 2. This is the link-layer destination a server
- // must send responses to.
- maxHWAddrLen = 16
+ // MaxHWAddrLen is the maximum hardware address length of the ClientHWAddr
+ // (client hardware address) according to RFC 2131, Section 2. This is the
+ // link-layer destination a server must send responses to.
+ MaxHWAddrLen = 16
// MaxMessageSize is the maximum size in bytes that a DHCPv4 packet can hold.
MaxMessageSize = 576