From: jsg Date: Fri, 10 May 2024 03:50:12 +0000 (+0000) Subject: make pf_match_rule() prototype match the function X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8de813b20c11b72ef1082de25ecbd3a6ff157b5b;p=openbsd make pf_match_rule() prototype match the function --- 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 *,