svn commit: r302561 - head/sbin/ipfw

Andrey V. Elsukov ae at FreeBSD.org
Mon Jul 11 12:45:00 UTC 2016


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: {


More information about the svn-src-head mailing list