From 8de813b20c11b72ef1082de25ecbd3a6ff157b5b Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 10 May 2024 03:50:12 +0000 Subject: [PATCH] make pf_match_rule() prototype match the function --- sys/net/pf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/pf.c b/sys/net/pf.c index e0e31b754eb..90254b6c2de 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.1194 2024/04/12 16:07:09 bluhm Exp $ */ +/* $OpenBSD: pf.c,v 1.1195 2024/05/10 03:50:12 jsg Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -239,7 +239,7 @@ int pf_src_connlimit(struct pf_state **); int pf_match_rcvif(struct mbuf *, struct pf_rule *); int pf_step_into_anchor(struct pf_test_ctx *, struct pf_rule *); -int pf_match_rule(struct pf_test_ctx *, +enum pf_test_status pf_match_rule(struct pf_test_ctx *, struct pf_ruleset *); void pf_counters_inc(int, struct pf_pdesc *, struct pf_state *, struct pf_rule *, -- 2.20.1