diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2016-07-11 12:44:58 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2016-07-11 12:44:58 +0000 |
commit | fcbdb770aa211352042d246755d0f0aac54cc399 (patch) | |
tree | 5340abe5a8aee3d82f0289d85ec3beb7dabec571 /sbin | |
parent | fc3466addabdeb95f1bcdd47a08397138f2c49d5 (diff) | |
download | src-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.c | 1 |
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: { |