From 00aef028f683a01161bdeef0bac997230def488c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 3 Aug 2020 18:15:29 -0400 Subject: [PATCH] lib: Put back applied count for route-maps The applied count for individual sub sections of route-maps was lost. Put it back. Signed-off-by: Donald Sharp --- lib/routemap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/routemap.c b/lib/routemap.c index 639e7f63d2..df9a6a33ea 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -2413,6 +2413,7 @@ route_map_result_t route_map_apply(struct route_map *map, for (; index; index = index->next) { if (!skip_match_clause) { + index->applied++; /* Apply this index. */ match_ret = route_map_apply_match(&index->match_list, prefix, type, object);