From: Hritik Vijay Date: Tue, 12 Nov 2019 22:27:02 +0000 (+0530) Subject: ss: show header for --processes/-p X-Git-Tag: v5.4.0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5883c6eba5173745eeb4e5467c59dd34d415bd7e;p=thirdparty%2Fiproute2.git ss: show header for --processes/-p ss by default shows headers for every column but omits it for --processes for no apparent reason. This patch adds the "Process" header. Signed-off-by: Hritik Vijay Signed-off-by: Stephen Hemminger --- diff --git a/misc/ss.c b/misc/ss.c index efa877816..794c1895c 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -133,6 +133,7 @@ enum col_id { COL_RADDR, COL_RSERV, COL_EXT, + COL_PROC, COL_MAX }; @@ -160,6 +161,7 @@ static struct column columns[] = { { ALIGN_LEFT, "Port", "", 0, 0, 0 }, { ALIGN_RIGHT, "Peer Address:", " ", 0, 0, 0 }, { ALIGN_LEFT, "Port", "", 0, 0, 0 }, + { ALIGN_LEFT, "Process", "", 0, 0, 0 }, { ALIGN_LEFT, "", "", 0, 0, 0 }, };