]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: Put back applied count for route-maps
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 3 Aug 2020 22:15:29 +0000 (18:15 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 4 Aug 2020 14:16:14 +0000 (10:16 -0400)
The applied count for individual sub sections of route-maps
was lost.  Put it back.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/routemap.c

index 639e7f63d24f3e9ca9277b7bbe2eb88dad2b1e77..df9a6a33eaffdf5ed46fa90c2fab1a4c30c1da92 100644 (file)
@@ -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);