Otherwise, on windows unit tests data sometimes is not seen in output files.
Signed-off-by: Gurucharan Shetty <gshe...@nicira.com> --- utilities/ovs-ofctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c index d62d328..1034e8b 100644 --- a/utilities/ovs-ofctl.c +++ b/utilities/ovs-ofctl.c @@ -1479,6 +1479,7 @@ monitor_vconn(struct vconn *vconn, bool reply_to_echo_requests) ofptype_decode(&type, ofpbuf_data(b)); ofp_print(stderr, ofpbuf_data(b), ofpbuf_size(b), verbosity + 2); + fflush(stderr); switch ((int) type) { case OFPTYPE_BARRIER_REPLY: @@ -1552,6 +1553,7 @@ ofctl_monitor(int argc, char *argv[]) msg = ofpbuf_new(0); ofputil_append_flow_monitor_request(&fmr, msg); dump_stats_transaction(vconn, msg); + fflush(stdout); } else { ovs_fatal(0, "%s: unsupported \"monitor\" argument", arg); } -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev