mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 02:46:34 +00:00
Merge pull request #13924 from FRRouting/mergify/bp/dev/9.0/pr-13894
lib: Add two places we were not counting route-map applied (backport #13894)
This commit is contained in:
commit
18e9025042
@ -2554,6 +2554,9 @@ route_map_result_t route_map_apply_ext(struct route_map *map,
|
||||
struct prefix conv;
|
||||
|
||||
if (recursion > RMAP_RECURSION_LIMIT) {
|
||||
if (map)
|
||||
map->applied++;
|
||||
|
||||
flog_warn(
|
||||
EC_LIB_RMAP_RECURSION_LIMIT,
|
||||
"route-map recursion limit (%d) reached, discarding route",
|
||||
@ -2563,6 +2566,8 @@ route_map_result_t route_map_apply_ext(struct route_map *map,
|
||||
}
|
||||
|
||||
if (map == NULL || map->head == NULL) {
|
||||
if (map)
|
||||
map->applied++;
|
||||
ret = RMAP_DENYMATCH;
|
||||
goto route_map_apply_end;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user