mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04: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
This commit is contained in:
parent
9f9cf83f11
commit
1a5dc6ee62
1 changed files with 1 additions and 1 deletions
|
|
@ -665,7 +665,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…
Reference in a new issue