git: 78c6cfdc3dc0 - main - ipfilter: Restore used variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Nov 2025 23:40:12 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=78c6cfdc3dc0b84aa2daf0f32c7c9cdf3b34fee5
commit 78c6cfdc3dc0b84aa2daf0f32c7c9cdf3b34fee5
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-11-26 23:39:24 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-11-26 23:39:24 +0000
ipfilter: Restore used variable
One of the "unused" i variables is actually used.
Fixes: 20c48f090b27
---
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 */