|author||Maciej Żenczykowski <email@example.com>||2020-04-21 01:15:42 -0700|
|committer||Pablo Neira Ayuso <firstname.lastname@example.org>||2020-05-11 14:08:24 +0200|
iptables: flush stdout after every verbose log.
Ensures that each logged line is flushed to stdout after it's written, and not held in any buffer. Places to modify found via: git grep -C5 'fputs[(]buffer, stdout[)];' On Android iptables-restore -v is run as netd daemon's child process and fed actions via pipe. '#PING' is used to verify the child is still responsive, and thus needs to be unbuffered. Luckily if you're running iptables-restore in verbose mode you probably either don't care about performance or - like Android - actually need this. Test: builds, required on Android for ip6?tables-restore netd subprocess health monitoring. Signed-off-by: Maciej Żenczykowski <email@example.com> Signed-off-by: Pablo Neira Ayuso <firstname.lastname@example.org>
Diffstat (limited to 'iptables/nft-cache.c')
0 files changed, 0 insertions, 0 deletions