summaryrefslogtreecommitdiffstats
path: root/lib/routemap.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-08-04 00:15:29 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-08-04 16:16:14 +0200
commit00aef028f683a01161bdeef0bac997230def488c (patch)
tree2aa633f4bb3a6bb2e733d88c078295f0abe17040 /lib/routemap.c
parentlib: Allow `no call WORD` (diff)
downloadfrr-00aef028f683a01161bdeef0bac997230def488c.tar.xz
frr-00aef028f683a01161bdeef0bac997230def488c.zip
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>
Diffstat (limited to 'lib/routemap.c')
-rw-r--r--lib/routemap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index 639e7f63d..df9a6a33e 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);