summaryrefslogtreecommitdiff
path: root/op-mode-definitions/vpn-ipsec.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-09-05 17:17:50 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-09-05 17:17:50 +0000
commit97326920e2907bdb545853887dc54c6a02b76f28 (patch)
treed6164146f63e9b892a0d0091535cdb58b1018e00 /op-mode-definitions/vpn-ipsec.xml.in
parent487c817ea320ddabcdaf41a8112937a29c19443e (diff)
downloadvyos-1x-97326920e2907bdb545853887dc54c6a02b76f28.tar.gz
vyos-1x-97326920e2907bdb545853887dc54c6a02b76f28.zip
T5423: Fix for op-mode show vpn ike secrets
We don't use ipsec.secrets anymore Fix op-mode for "show vpn ike secrets". Ability to get "RAW" format
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 c7ba780a3..b551af2be 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -177,7 +177,7 @@
<properties>
<help>Show all the pre-shared key secrets</help>
</properties>
- <command>sudo cat /etc/ipsec.secrets | sed 's/#.*//'</command>
+ <command>${vyos_op_scripts_dir}/ipsec.py show_psk</command>
</node>
<node name="status">
<properties>