Skip to content
Snippets Groups Projects
Commit fae12f9a authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

fixed typo

parent 9dbf70f2
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ func deserializePrefix(b []byte, pfxLen uint8, afi uint16) (bnet.Prefix, error)
numBytes := numberOfBytesForPrefixLength(pfxLen)
if numBytes != uint8(len(b)) {
return bnet.Prefix{}, fmt.Errorf("could not parse prefix of legth %d. Expected %d bytes, got %d", pfxLen, numBytes, len(b))
return bnet.Prefix{}, fmt.Errorf("could not parse prefix of length %d. Expected %d bytes, got %d", pfxLen, numBytes, len(b))
}
ipBytes := make([]byte, afiAddrLenBytes[afi])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment