diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2003-06-21 20:57:46 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2003-06-21 20:57:46 +0000 |
commit | c17d404bc57b019ab5215555d4e7e4ac4f841e54 (patch) | |
tree | 200cda5a3e827f3f4af80f28e79a4b7c010c2866 /sbin/pfctl | |
parent | 820e6c9e10f9f2814088857b36a5de5a41222c8f (diff) |
fflush(stdout) in pfctl -vvsq endless output.
Diffstat (limited to 'sbin/pfctl')
-rw-r--r-- | sbin/pfctl/pfctl_qstats.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_qstats.c b/sbin/pfctl/pfctl_qstats.c index 3c47a095f95..d0d485e1d38 100644 --- a/sbin/pfctl/pfctl_qstats.c +++ b/sbin/pfctl/pfctl_qstats.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_qstats.c,v 1.22 2003/06/20 16:53:48 deraadt Exp $ */ +/* $OpenBSD: pfctl_qstats.c,v 1.23 2003/06/21 20:57:45 dhartmei Exp $ */ /* * Copyright (c) Henning Brauer <henning@openbsd.org> @@ -93,6 +93,7 @@ pfctl_show_altq(int dev, int opts, int verbose2) while (verbose2) { printf("\n"); + fflush(stdout); sleep(STAT_INTERVAL); if (pfctl_update_qstats(dev, &root)) return (-1); |