Date: Wed, 20 Nov 2024 13:23:22 GMT From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 4b65481ac68a - main - pf: fix build without DTrace Message-ID: <202411201323.4AKDNMYg098029@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=4b65481ac68a99122991fd73583d071c5e27c65a commit 4b65481ac68a99122991fd73583d071c5e27c65a Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2024-11-20 13:18:31 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2024-11-20 13:23:07 +0000 pf: fix build without DTrace Reported by: kib Fixes: 438ca68cef3c678de1c01630266831a59818e208 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netpfil/pf/pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index 39913014334d..99d30c1acf72 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -8091,7 +8091,7 @@ pf_route6(struct mbuf **m, struct pf_krule *r, struct ifnet *oifp, md = m0; pf_dummynet_route(pd, s, r, ifp, sintosa(&dst), &md); if (md != NULL) { - int ret; + int ret __sdt_used; ret = nd6_output_ifp(ifp, ifp, md, &dst, NULL); SDT_PROBE2(pf, ip6, route_to, output, ifp, ret); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411201323.4AKDNMYg098029>