]> git.ipfire.org Git - thirdparty/iproute2.git/commit
xfrm_policy: Add filter option for socket policies
authorThomas Egerer <thomas.egerer@secunet.com>
Mon, 30 Oct 2017 18:11:44 +0000 (19:11 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 7 Nov 2017 02:12:30 +0000 (11:12 +0900)
commit20e4840a0a209006ac16cfd5cd1e6a28b346ce67
tree37cab251613df413979552fc5641ddcbe68b9e27
parent4357f5c31af4d945ab05fa3ab57f56eb5b2d2ad4
xfrm_policy: Add filter option for socket policies

Listing policies on systems with a lot of socket policies can be
confusing due to the number of returned polices. Even if socket polices
are not of interest, they cannot be filtered. This patch adds an option
to filter all socket policies from the output.

Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
ip/xfrm.h
ip/xfrm_policy.c