commit | 6babc649a917703571eac33347c0c39d8d0465b8 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Dec 02 11:39:46 2016 +0100 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Fri Dec 02 14:07:46 2016 -0800 |
tree | 1e7e7be5eaa8a7a14349b7d9cdb3a3f0e81317bb | |
parent | 36df1a6e92760f877fa909fe55ffbdaa50a672d4 [diff] |
ss: Drop empty lines in UDP output When dumping UDP sockets and show_tcpinfo (-i) is active but not show_mem (-m), print_tcpinfo() does not output anything leading to an empty line being printed after every socket. Fix this by skipping the call to print_tcpinfo() and the previous newline printing in that case. Signed-off-by: Phil Sutter <phil@nwl.cc>