]> git.proxmox.com Git - mirror_iproute2.git/commit
ss: Allow excluding a socket table from being queried
authorPhil Sutter <phil@nwl.cc>
Tue, 27 Mar 2018 23:51:54 +0000 (01:51 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 28 Mar 2018 00:02:38 +0000 (17:02 -0700)
commitc121111ecbe32d795f99c99b17ce1553f5d63305
tree60d4d4f9f1d35a19e7fc7d63daad9d6ce02c806e
parentd64a22f393bb4cdaa8e100f5432b3782257f81b6
ss: Allow excluding a socket table from being queried

The original problem was that a simple call to 'ss' leads to loading of
sctp_diag kernel module which might not be desired. While searching for
a workaround, it became clear how inconvenient it is to exclude a single
socket table from being queried.

This patch allows to prefix an item passed to '-A' parameter with an
exclamation mark to inverse its meaning.

Signed-off-by: Phil Sutter <phil@nwl.cc>
man/man8/ss.8
misc/ss.c