diff --git a/misc/ss.c b/misc/ss.c index 5796d800..18ccb6db 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -2444,7 +2444,7 @@ static int inet_show_sock(struct nlmsghdr *nlh, } } - if (show_mem || show_tcpinfo) { + if (show_mem || (show_tcpinfo && protocol != IPPROTO_UDP)) { printf("\n\t"); if (protocol == IPPROTO_SCTP) sctp_show_info(nlh, r, tb);