]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - misc/ss.c
ss: show header for --processes/-p
[mirror_iproute2.git] / misc / ss.c
index efa8778160e3fda91daeab782fe071f1d065ac61..794c1895c078e309c8d7ce46c92c982ef8a98136 100644 (file)
--- 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 },
 };