Flush buffer after output. This fixes adding new data to already

printed flows.

PR:		210882
MFC after:	3 days
This commit is contained in:
Andrey V. Elsukov 2016-07-11 12:44:58 +00:00
parent fc3466adda
commit fcbdb770aa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302561

View File

@ -612,6 +612,7 @@ list_pipes(struct dn_id *oid, struct dn_id *end)
} }
list_flow(&bp, (struct dn_flow *)oid); list_flow(&bp, (struct dn_flow *)oid);
printf("%s\n", bp.buf); printf("%s\n", bp.buf);
bp_flush(&bp);
break; break;
case DN_LINK: { case DN_LINK: {