]> git.proxmox.com Git - mirror_iproute2.git/commit
ss: fix end-of-line printing in misc/ss.c
authorBrian Vazquez <brianvv@google.com>
Wed, 4 Dec 2019 21:32:28 +0000 (13:32 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 5 Dec 2019 20:19:00 +0000 (12:19 -0800)
commit9eee92a41ae630b2c9e92ae2875ca56801c96b73
tree6d41d8286edf62eee3a75aaf2e033a72a2a2e4d8
parent908985c6709b6c0673501d61748c080889382d4f
ss: fix end-of-line printing in misc/ss.c

The previous change to ss to show header broke the printing of
end-of-line for the last entry.

Tested:

diff <(./ss.old -nltp) <(misc/ss -nltp)
38c38
< LISTEN   0  128   [::1]:35417  [::]:*  users:(("foo",pid=65254,fd=116))
\ No newline at end of file

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
misc/ss.c