summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/ipfw/ipfw2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 37e3ec3..c7ccfd5 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -1734,6 +1734,8 @@ list(int ac, char *av[], int show_counters)
const int ocmd = do_pipe ? IP_DUMMYNET_GET : IP_FW_GET;
int nalloc = 1024; /* start somewhere... */
+ last = 0;
+
if (test_only) {
fprintf(stderr, "Testing only, list disabled\n");
return;
OpenPOWER on IntegriCloud