From e1a1b2eddeaa6cab79f81882a3de554994f59f9e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 3 May 2017 14:39:21 -0400 Subject: [PATCH] ospf6d: Allow some route-map commands to work The generic callbacks need to be enabled in order for some route-map commands to properly work. I've tried to match up to what is programmed to work within ospfv3. Signed-off-by: Donald Sharp --- ospf6d/ospf6_asbr.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c index 8caae50221..da90e2f966 100644 --- a/ospf6d/ospf6_asbr.c +++ b/ospf6d/ospf6_asbr.c @@ -1170,6 +1170,15 @@ ospf6_routemap_init (void) route_map_set_metric_hook (generic_set_add); route_map_no_set_metric_hook (generic_set_delete); + route_map_match_tag_hook (generic_match_add); + route_map_no_match_tag_hook (generic_match_delete); + + route_map_match_ipv6_address_prefix_list_hook (generic_match_add); + route_map_no_match_ipv6_address_prefix_list_hook (generic_match_delete); + + route_map_match_interface_hook (generic_match_add); + route_map_no_match_interface_hook (generic_match_delete); + route_map_install_match (&ospf6_routemap_rule_match_address_prefixlist_cmd); route_map_install_match (&ospf6_routemap_rule_match_interface_cmd); route_map_install_match (&ospf6_routemap_rule_match_tag_cmd); -- 2.39.5