git: df0336adda0d - stable/15 - ipfilter: Restore used variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jan 2026 20:00:34 UTC
The branch stable/15 has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=df0336adda0d1256485de69d21e846d08a594337
commit df0336adda0d1256485de69d21e846d08a594337
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-11-26 23:39:24 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-01-05 20:00:00 +0000
ipfilter: Restore used variable
One of the "unused" i variables is actually used.
Fixes: 20c48f090b27
(cherry picked from commit 78c6cfdc3dc0b84aa2daf0f32c7c9cdf3b34fee5)
---
sys/netpfil/ipfilter/netinet/fil.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netpfil/ipfilter/netinet/fil.c b/sys/netpfil/ipfilter/netinet/fil.c
index 166b7bfd9abe..0de5378322df 100644
--- a/sys/netpfil/ipfilter/netinet/fil.c
+++ b/sys/netpfil/ipfilter/netinet/fil.c
@@ -4403,7 +4403,7 @@ int
frrequest(ipf_main_softc_t *softc, int unit, ioctlcmd_t req, caddr_t data,
int set, int makecopy)
{
- int error = 0, in, family, need_free = 0, interr;
+ int error = 0, in, family, need_free = 0, interr, i;
int interr_tbl[3] = { 152, 156, 153};
enum { OP_ADD, /* add rule */
OP_REM, /* remove rule */