diff options
-rw-r--r-- | dhcpv4/option_userclass.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/option_userclass.go b/dhcpv4/option_userclass.go index f79a0c6..3115647 100644 --- a/dhcpv4/option_userclass.go +++ b/dhcpv4/option_userclass.go @@ -69,7 +69,7 @@ func ParseOptUserClass(data []byte) (*OptUserClass, error) { for i := 0; i < totalLength; { ucLen := int(data[i]) if ucLen == 0 { - return nil, errors.New("User Class value has invalid lenght of 0") + return nil, errors.New("User Class value has invalid length of 0") } base := i + 1 if len(data) < base+ucLen { |