summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-wireguard.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-interfaces-wireguard.xml.in')
-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>