]> git.puffer.fish Git - mirror/frr.git/commit
Remove incorrect call to delete NHT for a route added via "network" command.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:04:04 +0000 (18:04 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:04:04 +0000 (18:04 -0700)
commit15f606c9ff5366e6fcb9b8fbba7f60e461b0775a
tree112872f3c4d7051288002f8dcf545f386b3eac23
parent7898cb4f5ef311589be9c3c9a3aab41d5b16b989
Remove incorrect call to delete NHT for a route added via "network" command.

When a route is announced in BGP via "network" command, we also register its
next hop with NHT code to allow of updates when the nexthop changes. When this
route is deleted via "no network" command, we incorrectly make a second call to
unregister the NHT tracking associated with this route. This causes a crash.
Fix that.
bgpd/bgp_route.c