git: f3c25bf955d5 - main - pf: Fix the prototype for pf_match_rule()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Jun 2025 12:46:47 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=f3c25bf955d5c2660b5f15ae38af56fa6bf02f5e
commit f3c25bf955d5c2660b5f15ae38af56fa6bf02f5e
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-06-14 12:44:16 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-06-14 12:44:58 +0000
pf: Fix the prototype for pf_match_rule()
Fixes: fe96610ba943 ("pf: rework anchor handling to recurse")
---
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 65debf53e5ff..24095ea28b24 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -2719,7 +2719,7 @@ int pf_osfp_match(struct pf_osfp_enlist *, pf_osfp_t);
void pf_print_host(struct pf_addr *, u_int16_t, sa_family_t);
enum pf_test_status pf_step_into_anchor(struct pf_test_ctx *, struct pf_krule *);
-int pf_match_rule(struct pf_test_ctx *, struct pf_kruleset *);
+enum pf_test_status pf_match_rule(struct pf_test_ctx *, struct pf_kruleset *);
void pf_step_into_keth_anchor(struct pf_keth_anchor_stackframe *,
int *, struct pf_keth_ruleset **,
struct pf_keth_rule **, struct pf_keth_rule **,