Pass -$g_family to 'ip xfrm' commands

- This currently doesn't work correctly, but maybe it will in the future

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-10-06 08:00:29 -07:00
parent 317f12041b
commit a9fbaa57ed
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -1159,7 +1159,7 @@ heading() {
show_ipsec() {
heading "PFKEY SPD"
$IP -s xfrm policy | spd_filter
$IP -s -$g_family xfrm policy | spd_filter
heading "PFKEY SAD"
$IP -s -$g_family xfrm state | egrep -v '[[:space:]]+(auth-trunc|enc )' # Don't divulge the keys
}