aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2024-01-13 08:51:55 -0800
committerStephen Hemminger <stephen@networkplumber.org>2024-01-13 08:55:09 -0800
commitf22c49730c3691c25a1147081363eb35aa9d1048 (patch)
tree89358f746aa8f16f5ff55f4eda14337440edc800
parent5659cf775210d215721c78e25df391dbf9944bfd (diff)
downloadiproute2-f22c49730c3691c25a1147081363eb35aa9d1048.tar.gz
Revert "ss: prevent "Process" column from being printed unless requested"
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>
-rw-r--r--misc/ss.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/misc/ss.c b/misc/ss.c
index 900fefa42..c220a0758 100644
--- 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;