]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ss: fix output of MD5 signature keys configured on TCP sockets
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 1 Mar 2024 12:33:24 +0000 (13:33 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 4 Mar 2024 16:25:34 +0000 (08:25 -0800)
commit857a328934a0aafba82c2549d60d365ae370e96e
treeee35db8d48f29505ae5e30b48c75f72a4cf036cc
parentb8daf861a45d066712a3146640ae925ab7403e2c
ss: fix output of MD5 signature keys configured on TCP sockets

da9cc6ab introduced printing of MD5 signature keys when found.
But when changing printf() to out() calls with 90351722,
the implicit printf call in print_escape_buf() was overlooked.
That results in a funny output in the first line:
"<all-your-tcp-signature-keys-concatenated>State"
and ambiguity as to which of those bytes belong to which socket.

Add a static void out_escape_buf() immediately before we use it.

da9cc6ab (ss: print MD5 signature keys configured on TCP sockets, 2017-10-06)
90351722 (ss: Replace printf() calls for "main" output by calls to helper, 2017-12-12)

Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
misc/ss.c