aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2025-07-30 15:34:12 +0000
committerKristof Provost <kp@FreeBSD.org>2025-08-05 22:27:16 +0000
commit301bd2998dc686e2e51147f65e11f30fe321f7dc (patch)
tree95f829482c61e7eeeabec4b54e14b218594161d9 /sbin
parentd8761e109d4d562bf119a4b7d04f92e5e0ad885e (diff)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/pfctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index ae772395e0ef..36bdd9705830 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -3139,6 +3139,7 @@ pfctl_reset(int dev, int opts)
struct pfr_buffer t;
int i;
+ memset(&pf, 0, sizeof(pf));
pf.dev = dev;
pf.h = pfh;
pfctl_init_options(&pf);