]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Revert "ss: prevent "Process" column from being printed unless requested"
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 13 Jan 2024 16:51:55 +0000 (08:51 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 13 Jan 2024 16:55:09 +0000 (08:55 -0800)
This reverts commit 1607bf531fd2f984438d227ea97312df80e7cf56.

This commit is being reverted because it breaks output of tcp info.
The order of the columns enum is order sensistive.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=218372
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
misc/ss.c

index 900fefa420155682baf3029d51807e7fbd7d5263..c220a0758cb1239410ed226563f9cc21b7f95f48 100644 (file)
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -100,8 +100,8 @@ enum col_id {
        COL_SERV,
        COL_RADDR,
        COL_RSERV,
-       COL_PROC,
        COL_EXT,
+       COL_PROC,
        COL_MAX
 };
 
@@ -5819,9 +5819,6 @@ int main(int argc, char *argv[])
        if (ssfilter_parse(&current_filter.f, argc, argv, filter_fp))
                usage();
 
-       if (!show_processes)
-               columns[COL_PROC].disabled = 1;
-
        if (!(current_filter.dbs & (current_filter.dbs - 1)))
                columns[COL_NETID].disabled = 1;