mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
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:
parent
317f12041b
commit
a9fbaa57ed
@ -1159,7 +1159,7 @@ heading() {
|
|||||||
|
|
||||||
show_ipsec() {
|
show_ipsec() {
|
||||||
heading "PFKEY SPD"
|
heading "PFKEY SPD"
|
||||||
$IP -s xfrm policy | spd_filter
|
$IP -s -$g_family xfrm policy | spd_filter
|
||||||
heading "PFKEY SAD"
|
heading "PFKEY SAD"
|
||||||
$IP -s -$g_family xfrm state | egrep -v '[[:space:]]+(auth-trunc|enc )' # Don't divulge the keys
|
$IP -s -$g_family xfrm state | egrep -v '[[:space:]]+(auth-trunc|enc )' # Don't divulge the keys
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user