]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ss: force a flush in monitor mode main
authorEric Dumazet <edumazet@google.com>
Wed, 15 Apr 2026 13:03:07 +0000 (13:03 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 15 Apr 2026 14:29:26 +0000 (07:29 -0700)
commit4d82739fda719a02a0790084ad400061877a3e08
tree6827dd9d850ede0eedb9d8a2e386374695b00727
parent4151eafe813535de1ce756e978874dca43f439e4
ss: force a flush in monitor mode

Call fflush() from generic_show_sock() in order to work
with pipes and redirects.

After this patch, "ss -E &>log_file" works as expected.

Signed-off-by: Eric Dumazet <edumazet@google.com>
misc/ss.c