From 26463065e7482e6fb3ad4a78b0a31f9bb5008a8e Mon Sep 17 00:00:00 2001 From: srividya0208 Date: Sat, 30 Oct 2021 15:54:40 -0400 Subject: T3796:op-mode: wireguard interface not shown When executed the command 'show interfaces wireguard' command, it is not showing the configured interface in the output. Modified the script to show the interface results. ** Correected the indentation of the properties field of line number 81-83** --- op-mode-definitions/wireguard.xml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'op-mode-definitions/wireguard.xml') diff --git a/op-mode-definitions/wireguard.xml b/op-mode-definitions/wireguard.xml index 681bb5f47..52789a886 100644 --- a/op-mode-definitions/wireguard.xml +++ b/op-mode-definitions/wireguard.xml @@ -19,7 +19,7 @@ generate a wireguard preshared key ${vyos_op_scripts_dir}/wireguard.py --genpsk - + @@ -51,10 +51,10 @@ show wireguard interface information - + - sudo wg show "$4" + ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" @@ -74,12 +74,17 @@ sudo wg show "$4" peers - + + + + Show WireGuard interface information + + ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireguard --action=show-brief + - -- cgit v1.2.3