summaryrefslogtreecommitdiff
path: root/op-mode-definitions/vpn-ipsec.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-08-04 13:10:03 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-08-04 13:10:03 +0000
commitdcf89afba457fd4e4d4f764484f329c19d8ed554 (patch)
tree607ca4b197a126da97bcffb744f5fe244bdbde02 /op-mode-definitions/vpn-ipsec.xml.in
parent2131309c162065ebfdd99d58ebb3e2d377dfed67 (diff)
downloadvyos-1x-dcf89afba457fd4e4d4f764484f329c19d8ed554.tar.gz
vyos-1x-dcf89afba457fd4e4d4f764484f329c19d8ed554.zip
ipsec: T4594: Rewrite op-mode show vpn ipsec sa
Rewrite op-mode "show vpn ipsec sa" to new format Use vyos.opmode format Ability to get raw and formatted output
Diffstat (limited to 'op-mode-definitions/vpn-ipsec.xml.in')
-rw-r--r--op-mode-definitions/vpn-ipsec.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in
index a98cf8ff2..8c9e76651 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -187,7 +187,7 @@
<command>if pgrep charon >/dev/null ; then sudo /usr/sbin/ipsec statusall ; else echo "IPSec process not running" ; fi</command>
</node>
</children>
- <command>if pgrep charon >/dev/null ; then sudo ${vyos_op_scripts_dir}/show_ipsec_sa.py ; else echo "IPSec process not running" ; fi</command>
+ <command>if pgrep charon >/dev/null ; then sudo ${vyos_op_scripts_dir}/ipsec.py show_sa ; else echo "IPSec process not running" ; fi</command>
</node>
<node name="state">
<properties>