aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2023-03-06 07:10:27 +0000
committerKristof Provost <kp@FreeBSD.org>2023-03-06 18:22:35 +0000
commit1be25bdb730ff07355cd6f5cb087d58e506c5519 (patch)
tree1c90045182f8449cadbee69053a00e60fad041af /sbin
parent9f1beeaed4d5490e76f1eca2fc68c725a933ec7f (diff)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/pfctl_table.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_table.c b/sbin/pfctl/pfctl_table.c
index db338fbe0876..3d1aef5571d6 100644
--- a/sbin/pfctl/pfctl_table.c
+++ b/sbin/pfctl/pfctl_table.c
@@ -585,7 +585,6 @@ pfctl_show_ifaces(const char *filter, int opts)
{
struct pfr_buffer b;
struct pfi_kif *p;
- int i = 0;
bzero(&b, sizeof(b));
b.pfrb_type = PFRB_IFACES;
@@ -598,7 +597,6 @@ pfctl_show_ifaces(const char *filter, int opts)
}
if (b.pfrb_size <= b.pfrb_msize)
break;
- i++;
}
if (opts & PF_OPT_SHOWALL)
pfctl_print_title("INTERFACES:");