mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:03:07 +00:00
Merge pull request #17386 from opensourcerouting/fix/initialize_mbefore
lib: Initialize mbefore for route_map_apply_ext()
This commit is contained in:
commit
b365b0ff24
@ -2753,6 +2753,7 @@ route_map_apply_end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (map) {
|
if (map) {
|
||||||
|
GETRUSAGE(&mbefore);
|
||||||
GETRUSAGE(&mafter);
|
GETRUSAGE(&mafter);
|
||||||
event_consumed_time(&mafter, &mbefore, &cputime);
|
event_consumed_time(&mafter, &mbefore, &cputime);
|
||||||
map->cputime += cputime;
|
map->cputime += cputime;
|
||||||
|
Loading…
Reference in New Issue
Block a user