aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKajetan Staszkiewicz <ks@FreeBSD.org>2024-11-21 20:30:58 +0000
committerKristof Provost <kp@FreeBSD.org>2024-12-27 18:03:53 +0000
commit6c7cef47bdd037e0656e48962af84ca307da4175 (patch)
treea13a3bf1ea8666002d6bb4d03115310b3327e99a
parenta653e8317f5af006ab49a761ce35d3f525ba5abd (diff)
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)
-rw-r--r--sys/netpfil/pf/pf_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/pf/pf_table.c b/sys/netpfil/pf/pf_table.c
index b3e0da20422c..3004609e1702 100644
--- a/sys/netpfil/pf/pf_table.c
+++ b/sys/netpfil/pf/pf_table.c
@@ -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);