]> git.puffer.fish Git - mirror/frr.git/commit
bgpd, lib, ospf6d, ospfd, pimd, zebra: Rework routemap event callback 4304/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 9 May 2019 03:19:55 +0000 (23:19 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 10 May 2019 22:43:21 +0000 (18:43 -0400)
commit097b5973d3ff7556c953329c962d0a8a813087ae
treeca90a8bc860ab02e0655ad2442fb32595769fee4
parentba1707ca54638376f73dd7b9e55a183250af573f
bgpd, lib, ospf6d, ospfd, pimd, zebra: Rework routemap event callback

The route_map_event_hook callback was passing the `route_map_event_t`
to each individual interested party.  No-one is ever using this data
so let's cut to the chase a bit and remove the pass through of data.
This is considered ok in that the routemap.c code came this way
originally and after 15+ years no-one is using this functionality.
Nor do I see any `easy` way to do anything useful with this data.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_routemap.c
bgpd/rfapi/bgp_rfapi_cfg.c
lib/routemap.c
lib/routemap.h
ospf6d/ospf6_asbr.c
ospfd/ospf_routemap.c
pimd/pim_routemap.c
zebra/zebra_routemap.c