summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-09-20 13:13:26 +0300
committerNataliia Solomko <natalirs1985@gmail.com>2024-09-20 13:46:10 +0300
commitc6062ef100f20e2cc3e5ed9c4d145d4d969741e4 (patch)
treee66cd75c830c5b2da5b706b2569cc4647c08231c /op-mode-definitions
parent394c2ad60b9d78b516facd9509493f719643323c (diff)
downloadvyos-1x-c6062ef100f20e2cc3e5ed9c4d145d4d969741e4.tar.gz
vyos-1x-c6062ef100f20e2cc3e5ed9c4d145d4d969741e4.zip
op-mode: T4833: Include wireguard peer name in interface summary report
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-interfaces-wireguard.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-interfaces-wireguard.xml.in b/op-mode-definitions/show-interfaces-wireguard.xml.in
index bab7f19c8..0e61ccd74 100644
--- a/op-mode-definitions/show-interfaces-wireguard.xml.in
+++ b/op-mode-definitions/show-interfaces-wireguard.xml.in
@@ -41,7 +41,7 @@
<properties>
<help>Shows current configuration and device information</help>
</properties>
- <command>sudo wg show "$4"</command>
+ <command>sudo ${vyos_op_scripts_dir}/interfaces_wireguard.py show_summary --intf-name="$4"</command>
</leafNode>
</children>
</tagNode>