diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2024-11-20 13:18:31 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2024-11-20 13:23:07 +0000 |
| commit | 4b65481ac68a99122991fd73583d071c5e27c65a (patch) | |
| tree | 159cadd8f5206e311198ab2a802dba47033c6c01 | |
| parent | 0df81552d74d2c188a9323ffe18f6ebe799b86f9 (diff) | |
pf: fix build without DTrace
Reported by: kib
Fixes: 438ca68cef3c678de1c01630266831a59818e208
Sponsored by: Rubicon Communications, LLC ("Netgate")
| -rw-r--r-- | sys/netpfil/pf/pf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
