From 45024ca042cd42ce95f438fb24c267b1baf3f0e4 Mon Sep 17 00:00:00 2001 From: Martin Buck Date: Wed, 26 May 2021 16:03:51 +0200 Subject: [PATCH] ospf6d: Fix route map "set tag" command So far, "set tag" was 99% implemented in ospf6d, but registration of the hook functions was missing, causing "set tag" actions in route maps to be ignored in ospf6d. This commit adds the missing hook registration. Signed-off-by: Martin Buck --- ospf6d/ospf6_asbr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c index 245e5dcd3d..35f50898a6 100644 --- a/ospf6d/ospf6_asbr.c +++ b/ospf6d/ospf6_asbr.c @@ -2009,6 +2009,9 @@ static void ospf6_routemap_init(void) route_map_set_metric_hook(generic_set_add); route_map_no_set_metric_hook(generic_set_delete); + route_map_set_tag_hook(generic_set_add); + route_map_no_set_tag_hook(generic_set_delete); + route_map_match_tag_hook(generic_match_add); route_map_no_match_tag_hook(generic_match_delete);