forked from Mirror/frr
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>
This commit is contained in:
parent
680b9b6258
commit
00aef028f6
|
@ -2413,6 +2413,7 @@ route_map_result_t route_map_apply(struct route_map *map,
|
||||||
|
|
||||||
for (; index; index = index->next) {
|
for (; index; index = index->next) {
|
||||||
if (!skip_match_clause) {
|
if (!skip_match_clause) {
|
||||||
|
index->applied++;
|
||||||
/* Apply this index. */
|
/* Apply this index. */
|
||||||
match_ret = route_map_apply_match(&index->match_list,
|
match_ret = route_map_apply_match(&index->match_list,
|
||||||
prefix, type, object);
|
prefix, type, object);
|
||||||
|
|
Loading…
Reference in a new issue