Bug 2492: LinkstateAdjRIBsIn.removeRoutes accepts null routes. 48/13448/3
authorVratko Polak <vrpolak@cisco.com>
Mon, 8 Dec 2014 15:19:15 +0000 (16:19 +0100)
committerVratko Polak <vrpolak@cisco.com>
Mon, 8 Dec 2014 15:31:37 +0000 (16:31 +0100)
commite391fcd87dfb35f47da3a443f1f3e49d004e3032
tree0275878015ee686b6f37be5e45e5cc05e744e69a
parent5b7312fa9b6f4e31f69b9f11f3abdc7804aeed9c
Bug 2492: LinkstateAdjRIBsIn.removeRoutes accepts null routes.

http://tools.ietf.org/html/rfc4760#section-4
does not explicitly forbid MP_UNREACH_NLRI without any
Withdrawn Routes in it, so if statement is added
to handle withdrawnRoutes == null case.
(Patch compiles, but misses a unit test.)

Change-Id: Ie880f9c81d6a3773e4b33dea164d8bab3b6ee248
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
bgp/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/LinkstateAdjRIBsIn.java