iproute2/misc
Quentin Deslandes 1607bf531f ss: prevent "Process" column from being printed unless requested
Commit 5883c6eba5 ("ss: show header for --processes/-p") added
"Process" to the list of columns printed by ss. However, the "Process"
header is now printed even if --processes/-p is not used.

This change aims to fix this by moving the COL_PROC column ID to the same
index as the corresponding column structure in the columns array, and
enabling it if --processes/-p is used.

Fixes: 5883c6eba5 ("ss: show header for --processes/-p")
Signed-off-by: Quentin Deslandes <qde@naccy.de>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2023-12-06 09:41:09 -08:00
..
.gitignore make yacc usage POSIX compatible 2020-01-20 09:43:22 -08:00
arpd.c misc: use SPDX 2023-01-14 09:00:34 -08:00
ifstat.c misc/ifstat: fix incorrect output data in json mode 2023-07-24 18:23:48 -07:00
lnstat_util.c misc: use SPDX 2023-01-14 09:00:34 -08:00
lnstat.c misc: use SPDX 2023-01-14 09:00:34 -08:00
lnstat.h lnstat: use same version as iproute2 2020-08-03 10:02:47 -07:00
Makefile ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
nstat.c nstat: fix potential NULL deref 2023-05-13 19:02:41 -07:00
rtacct.c misc: use SPDX 2023-01-14 09:00:34 -08:00
ss_util.h misc: use SPDX 2023-01-14 09:00:34 -08:00
ss.c ss: prevent "Process" column from being printed unless requested 2023-12-06 09:41:09 -08:00
ssfilter_check.c ssfilter: fix clang warning about conversion 2023-10-31 16:05:21 -07:00
ssfilter.h misc: use SPDX 2023-01-14 09:00:34 -08:00
ssfilter.y misc: use SPDX 2023-01-14 09:00:34 -08:00