]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_attr.c
bgpd: Free up changes to attr that the speculative route-map applied
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 25 Oct 2017 00:57:00 +0000 (20:57 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 27 Nov 2017 13:21:56 +0000 (08:21 -0500)
commitf46d8e1ed038cead4ab0b86c1e5701afee711be3
treeef6a95e46cfe3ffdbeaf669c756c6a734758c7e0
parent0f672529d86b4c55f11c761f171f635ebb4bdb10
bgpd: Free up changes to attr that the speculative route-map applied

So we have the ability to apply speculative route-maps to
neighbor display to see what the changes would look like
via some show commands.  When we do this we make a
shallow copy of the attr data structure and then pass
it around for applying the routemap.  After we've applied
this route-map and displayed it we really need to clean
up memory that the route-map application applied.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_attr.c
bgpd/bgp_attr.h
bgpd/bgp_route.c