aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-07-24 05:33:52 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-07-25 08:22:16 +0000
commitfc4c42ce0b5ce87901b327e25f55b4e3ab4c6cf5 (patch)
treea500927f873fc0b3bacd4104430cfbb65cf258f2 /sys/net
parentdefdcdd5648dc1ea789bc54bb45108fcab546a6b (diff)
downloadsrc-fc4c42ce0b5ce87901b327e25f55b4e3ab4c6cf5.tar.gz
src-fc4c42ce0b5ce87901b327e25f55b4e3ab4c6cf5.zip
pf: switch pf_status.fcounters to pf_counter_u64
Reviewed by: kp Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pfvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 62aebfaf8981..8683e4fece58 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1371,7 +1371,7 @@ enum pf_syncookies_mode {
struct pf_kstatus {
counter_u64_t counters[PFRES_MAX]; /* reason for passing/dropping */
counter_u64_t lcounters[LCNT_MAX]; /* limit counters */
- counter_u64_t fcounters[FCNT_MAX]; /* state operation counters */
+ struct pf_counter_u64 fcounters[FCNT_MAX]; /* state operation counters */
counter_u64_t scounters[SCNT_MAX]; /* src_node operation counters */
uint32_t states;
uint32_t src_nodes;