3ee6f70651
When printf()'s stdout is line-buffered for terminal, it is fully
buffered for pipes. So, stdout listener can only get the output
when it is flushed (on program termination, when buffer is filled or
manual flush).
stdout buffer might fill slowly since every stats report could be small.
Also when it is fully filled it might contain a part of the last stats
report which makes it very inconvenient for any automation which reads
and parses the output.
Fixes:
|
||
---|---|---|
.. | ||
l2fwd_common.c | ||
l2fwd_common.h | ||
l2fwd_event_generic.c | ||
l2fwd_event_internal_port.c | ||
l2fwd_event.c | ||
l2fwd_event.h | ||
l2fwd_poll.c | ||
l2fwd_poll.h | ||
main.c | ||
Makefile | ||
meson.build |