Skip to content
Snippets Groups Projects
Unverified Commit d141e98d authored by Daniel Czerwonk's avatar Daniel Czerwonk Committed by GitHub
Browse files

Update path_attributes.go

fixed copy paste error
parent 2b6ebfa5
No related branches found
No related tags found
No related merge requests found
...@@ -603,7 +603,7 @@ func read4BytesAsUin32(buf *bytes.Buffer) (uint32, error) { ...@@ -603,7 +603,7 @@ func read4BytesAsUin32(buf *bytes.Buffer) (uint32, error) {
return 0, err return 0, err
} }
if n != 4 { if n != 4 {
return 0, fmt.Errorf("Unable to read next hop: buf.Read read %d bytes", n) return 0, fmt.Errorf("Unable to read as uint32: buf.Read read %d bytes", n)
} }
return fourBytesToUint32(b), nil return fourBytesToUint32(b), nil
......
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