git: ceda9eb20f3e - stable/13 - ipfilter: Restore used variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jan 2026 20:02:56 UTC
The branch stable/13 has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=ceda9eb20f3efe0cfa4a444a972b2a47fdde044c
commit ceda9eb20f3efe0cfa4a444a972b2a47fdde044c
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-11-26 23:39:24 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-01-05 03:40:11 +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 5161e6472a60..545ef657217d 100644
--- a/sys/netpfil/ipfilter/netinet/fil.c
+++ b/sys/netpfil/ipfilter/netinet/fil.c
@@ -4407,7 +4407,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 */