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-08 15:05:43 +0000
commit7cb85a8b49708f5e7b50f5dc8e0414b6a3a0736f (patch)
tree188a49f0eae071ac23b0466b5cf0a57d5796d8c5 /op-mode-definitions/vpn-ipsec.xml.in
parent8e22a2f6f77dc2d10969d8603c59a8834164b903 (diff)
downloadvyos-1x-7cb85a8b49708f5e7b50f5dc8e0414b6a3a0736f.tar.gz
vyos-1x-7cb85a8b49708f5e7b50f5dc8e0414b6a3a0736f.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 (cherry picked from commit 97326920e2907bdb545853887dc54c6a02b76f28)
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>