git: 4001613878fe - main - pfsync: rename unused variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Apr 2026 12:47:15 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=4001613878fe3cb059833c8a4b6199975f8d82f3
commit 4001613878fe3cb059833c8a4b6199975f8d82f3
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-04-25 11:27:03 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-04-25 11:27:03 +0000
pfsync: rename unused variable
Make it more obvious that this field is not used.
No functional change.
Event: Wiesbaden Hackathon 202604
---
sys/net/pfvar.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 70a391b3f07c..4c57a605438f 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1499,7 +1499,7 @@ struct pfsync_state_1301 {
u_int8_t state_flags;
u_int8_t timeout;
u_int8_t sync_flags;
- u_int8_t updates; /* unused */
+ u_int8_t __spare2;
} __packed;
struct pfsync_state_1400 {