summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-20 22:44:59 +0200
committerGitHub <noreply@github.com>2024-09-20 22:44:59 +0200
commit46a76acc85e775e87db5a82fea7bd520d7765369 (patch)
tree6a90aec22afd254f1c707ce5bd74793167711399 /op-mode-definitions
parent936b3acd0fc5f8dc16f4fe240c534441bc59e9fe (diff)
parentc6062ef100f20e2cc3e5ed9c4d145d4d969741e4 (diff)
downloadvyos-1x-46a76acc85e775e87db5a82fea7bd520d7765369.tar.gz
vyos-1x-46a76acc85e775e87db5a82fea7bd520d7765369.zip
Merge pull request #4089 from natali-rs1985/T4833-current
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>