summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOwen Mooney <owenmooney@fb.com>2018-07-24 06:44:09 -0700
committerOwen Mooney <owenmooney@fb.com>2018-07-24 06:44:09 -0700
commite4cb65158f644755e45b5a90269e7b42cb469cd1 (patch)
tree7bf7f6cb263d002a8abc466de9305effac140b94
parent6c61e813f2a9a8df16c93d8b2511686ee67942c1 (diff)
Spelling
-rw-r--r--dhcpv4/option_userclass.go2
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 {