mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 18:42:23 +00:00
pimd: Remove unused code
pim does not even use route-maps, remove the unneded code. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
7096e93875
commit
c573cddd2a
@ -26,34 +26,18 @@
|
||||
|
||||
#include "pimd.h"
|
||||
|
||||
|
||||
static void pim_route_map_mark_update(const char *rmap_name)
|
||||
{
|
||||
// placeholder
|
||||
return;
|
||||
}
|
||||
|
||||
static void pim_route_map_add(const char *rmap_name)
|
||||
{
|
||||
if (route_map_mark_updated(rmap_name) == 0)
|
||||
pim_route_map_mark_update(rmap_name);
|
||||
|
||||
route_map_notify_dependencies(rmap_name, RMAP_EVENT_MATCH_ADDED);
|
||||
}
|
||||
|
||||
static void pim_route_map_delete(const char *rmap_name)
|
||||
{
|
||||
if (route_map_mark_updated(rmap_name) == 0)
|
||||
pim_route_map_mark_update(rmap_name);
|
||||
|
||||
route_map_notify_dependencies(rmap_name, RMAP_EVENT_MATCH_DELETED);
|
||||
}
|
||||
|
||||
static void pim_route_map_event(route_map_event_t event, const char *rmap_name)
|
||||
{
|
||||
if (route_map_mark_updated(rmap_name) == 0)
|
||||
pim_route_map_mark_update(rmap_name);
|
||||
|
||||
route_map_notify_dependencies(rmap_name, RMAP_EVENT_MATCH_ADDED);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user