mirror of
https://github.com/opnsense/src.git
synced 2026-02-04 03:00:53 -06:00
pf: Set cleared time when zeroing stats for table addresses
Reviewed by: kp Approved by: kp (mentor) Sponsored by: InnoGames GmbH Differential Revision: https://reviews.freebsd.org/D47697 (cherry picked from commit 1a5dc6ee62b316b0caad5118dc0f3aee036f1958)
This commit is contained in:
parent
d3d3ef2b33
commit
815070d457
@ -669,7 +669,7 @@ pfr_clr_astats(struct pfr_table *tbl, struct pfr_addr *addr, int size,
|
||||
}
|
||||
|
||||
if (!(flags & PFR_FLAG_DUMMY))
|
||||
pfr_clstats_kentries(kt, &workq, 0, 0);
|
||||
pfr_clstats_kentries(kt, &workq, time_second, 0);
|
||||
if (nzero != NULL)
|
||||
*nzero = xzero;
|
||||
return (0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user