Otherwise, on Windows unit tests, data sometimes is
not seen in output files.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
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:
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);
}