]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: When we don't have a route-map to apply don't apply the original
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 25 Oct 2017 00:23:06 +0000 (20:23 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 27 Nov 2017 13:21:56 +0000 (08:21 -0500)
commitb787157a528c5730b4d82c06f17de8eccf0b3508
tree3d7a3d66f85a3f8733ab225bcef784da7ec964fa
parent924c3f6ae9ec7bb18f923f64d63ef7a3bcfbf9e9
bgpd: When we don't have a route-map to apply don't apply the original

When we display the advertised-routes and we don't have a route-map
to apply do not re-apply the route-map.  This does two things:

1) Fixes a display issue with the show command.
2) More importantly stops leaking memory like a sieve for when
   you have a full bgp table.

Fixes: #1345
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_route.c