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

fixed merge markers

parent 3c309824
No related branches found
No related tags found
No related merge requests found
......@@ -252,10 +252,10 @@ func (pa *PathAttribute) decodeCommunities(buf *bytes.Buffer) error {
coms := make([]uint32, count)
for i := uint16(0); i < count; i++ {
v, err = read4BytesAsUin32(buf)
+ if err != nil {
+ return err
+ }
v, err := read4BytesAsUin32(buf)
if err != nil {
return err
}
coms[i] = v
}
......
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