examples: add flush after stats printing
[dpdk.git] / examples / l2fwd-keepalive / main.c
index b7585d5..b274263 100644 (file)
@@ -160,6 +160,8 @@ print_stats(__rte_unused struct rte_timer *ptr_timer,
                   total_packets_rx,
                   total_packets_dropped);
        printf("\n====================================================\n");
+
+       fflush(stdout);
 }
 
 static void