summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-08-03 18:15:29 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-08-04 10:16:14 -0400
commit00aef028f683a01161bdeef0bac997230def488c (patch)
tree2aa633f4bb3a6bb2e733d88c078295f0abe17040
parent680b9b6258e6e867d4ef94d3d3e3f77790b24091 (diff)
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 <sharpd@cumulusnetworks.com>
-rw-r--r--lib/routemap.c1
1 files changed, 1 insertions, 0 deletions
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);