aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipf/libipf/printhash_live.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipf/libipf/printhash_live.c')
-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);
}