aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2016-07-11 12:44:58 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2016-07-11 12:44:58 +0000
commitfcbdb770aa211352042d246755d0f0aac54cc399 (patch)
tree5340abe5a8aee3d82f0289d85ec3beb7dabec571 /sbin
parentfc3466addabdeb95f1bcdd47a08397138f2c49d5 (diff)
downloadsrc-fcbdb770aa211352042d246755d0f0aac54cc399.tar.gz
src-fcbdb770aa211352042d246755d0f0aac54cc399.zip
Flush buffer after output. This fixes adding new data to already
printed flows. PR: 210882 MFC after: 3 days
Notes
Notes: svn path=/head/; revision=302561
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfw/dummynet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ipfw/dummynet.c b/sbin/ipfw/dummynet.c
index ca2dfc802a5b..20c563ba0ce4 100644
--- a/sbin/ipfw/dummynet.c
+++ b/sbin/ipfw/dummynet.c
@@ -612,6 +612,7 @@ list_pipes(struct dn_id *oid, struct dn_id *end)
}
list_flow(&bp, (struct dn_flow *)oid);
printf("%s\n", bp.buf);
+ bp_flush(&bp);
break;
case DN_LINK: {