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

removed uneccessary if

parent 5b1302d9
No related branches found
No related tags found
No related merge requests found
......@@ -151,10 +151,6 @@ func (f *fsmAddressFamily) multiProtocolUpdate(path *route.Path, nlri packet.Mul
path.BGPPath.NextHop = nlri.NextHop
if nlri.NLRI == nil {
return
}
for n := nlri.NLRI; n != nil; n = n.Next {
f.adjRIBIn.AddPath(n.Prefix, path)
}
......
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