aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2025-07-07 23:37:07 +0000
committerCy Schubert <cy@FreeBSD.org>2025-07-07 23:37:07 +0000
commitac2e39b5ddf5d5c6bc3848e392670a00e5834450 (patch)
tree40e450b7605fb811ccb5f013d3efcdcf09e64252
parent7462eb81cd5b2ba6b42e13f49c777a474edea308 (diff)
-rw-r--r--sbin/ipf/libipf/printhash_live.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/ipf/libipf/printhash_live.c b/sbin/ipf/libipf/printhash_live.c
index 3caaa5e022fe..b8ee31b27597 100644
--- a/sbin/ipf/libipf/printhash_live.c
+++ b/sbin/ipf/libipf/printhash_live.c
@@ -61,5 +61,8 @@ printhash_live(iphtable_t *hp, int fd, char *name, int opts, wordtab_t *fields)
if ((opts & OPT_DEBUG) == 0)
PRINTF(" };\n");
+
+ (void) ioctl(fd,SIOCIPFDELTOK, &iter.ili_key);
+
return (hp->iph_next);
}