summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_maximum_dhcp_message_size.go
diff options
context:
space:
mode:
authorSean Karlage <skarlage@get9.io>2018-07-30 08:46:36 -0700
committerGitHub <noreply@github.com>2018-07-30 08:46:36 -0700
commit6cf562816e82894ad1b0eb86923b5bcb7b7d2962 (patch)
treec81a97c8b540ea830615e39eaae1fde420eb9e46 /dhcpv4/option_maximum_dhcp_message_size.go
parentb1289a39b521aa6ce714af91bab9f8104e5cc002 (diff)
parentb64f581df56ab8050636c58d5096b6b499725807 (diff)
Merge pull request #108 from pmazzini/master
add OptIPAddressLeaseTime
Diffstat (limited to 'dhcpv4/option_maximum_dhcp_message_size.go')
-rw-r--r--dhcpv4/option_maximum_dhcp_message_size.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/option_maximum_dhcp_message_size.go b/dhcpv4/option_maximum_dhcp_message_size.go
index 05186f5..e5fedc6 100644
--- a/dhcpv4/option_maximum_dhcp_message_size.go
+++ b/dhcpv4/option_maximum_dhcp_message_size.go
@@ -8,7 +8,7 @@ import (
// This option implements the Maximum DHCP Message size option
// https://tools.ietf.org/html/rfc2132
-// OptMaximumDHCPMessageSize represents the DHCP message type option.
+// OptMaximumDHCPMessageSize represents the Maximum DHCP Message size option.
type OptMaximumDHCPMessageSize struct {
Size uint16
}
@@ -16,7 +16,7 @@ type OptMaximumDHCPMessageSize struct {
// ParseOptMaximumDHCPMessageSize constructs an OptMaximumDHCPMessageSize struct from a sequence of
// bytes and returns it, or an error.
func ParseOptMaximumDHCPMessageSize(data []byte) (*OptMaximumDHCPMessageSize, error) {
- // Should at least have code, length, and message type.
+ // Should at least have code, length, and message size.
if len(data) < 4 {
return nil, ErrShortByteStream
}