diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-06 20:25:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 20:25:33 +0200 |
commit | 1cad06b6db6377b7bb018990f57329b832270a6c (patch) | |
tree | f03428bedec949f474bb2a0e4b74191804f8d4d2 /op-mode-definitions/vpn-ipsec.xml.in | |
parent | e0825b52df4a2a4ce6d137bb8adc553f6e71fc0b (diff) | |
parent | 97326920e2907bdb545853887dc54c6a02b76f28 (diff) | |
download | vyos-1x-1cad06b6db6377b7bb018990f57329b832270a6c.tar.gz vyos-1x-1cad06b6db6377b7bb018990f57329b832270a6c.zip |
Merge pull request #2206 from sever-sever/T5423
T5423: Fix for op-mode show vpn ike secrets
Diffstat (limited to 'op-mode-definitions/vpn-ipsec.xml.in')
-rw-r--r-- | op-mode-definitions/vpn-ipsec.xml.in | 2 |
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> |