Author: ae
Date: Mon Jul 11 12:44:58 2016
New Revision: 302561
URL: https://svnweb.freebsd.org/changeset/base/302561

Log:
  Flush buffer after output. This fixes adding new data to already
  printed flows.
  
  PR:           210882
  MFC after:    3 days

Modified:
  head/sbin/ipfw/dummynet.c

Modified: head/sbin/ipfw/dummynet.c
==============================================================================
--- head/sbin/ipfw/dummynet.c   Mon Jul 11 08:24:04 2016        (r302560)
+++ head/sbin/ipfw/dummynet.c   Mon Jul 11 12:44:58 2016        (r302561)
@@ -612,6 +612,7 @@ list_pipes(struct dn_id *oid, struct dn_
            }
            list_flow(&bp, (struct dn_flow *)oid);
            printf("%s\n", bp.buf);
+           bp_flush(&bp);
            break;
 
        case DN_LINK: {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to