]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_routemap.c
*: Add RMAP_COMPILE_SUCCESS to enum
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 25 Aug 2017 12:31:03 +0000 (08:31 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 25 Aug 2017 14:48:30 +0000 (10:48 -0400)
commit9ca25fedba875265f191af92f1887d35076b6403
treefc57ad9703a4adadfdad3f0776c683b81a858188
parent0af35d90a125952d04aa892522b6be324f2dfbf7
*: Add RMAP_COMPILE_SUCCESS to enum

Add the RMAP_COMPILE_SUCCESS and switch over to using it.
Refactoring allows a removal of a if statement to just
use the switch statement already in place.  Additionally
the reworking cleans up memory freeing in a couple of spots.
In one spot we no longer will leak memory too.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_routemap.c
eigrpd/eigrp_routemap.c
lib/routemap.c
lib/routemap.h
ospf6d/ospf6_asbr.c
zebra/zebra_routemap.c