diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-12-12 13:57:32 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-25 11:18:17 +0000 |
commit | 4fe6f26a58e63b1d370aef1db5ba5f6b67587d5b (patch) | |
tree | ddc731f8052c018e03f442554f46f859f33a9416 /op-mode-definitions/include/frr-detail.xml.i | |
parent | 4276133800e9aa5d5fb5a17faad77b185a68c7c3 (diff) | |
download | vyos-1x-4fe6f26a58e63b1d370aef1db5ba5f6b67587d5b.tar.gz vyos-1x-4fe6f26a58e63b1d370aef1db5ba5f6b67587d5b.zip |
T5817: Fix for show openvpn server
In some cases we can get error:
```
Traceback (most recent call last):
File "/usr/libexec/vyos/op_mode/show_openvpn.py", line 173, in <module>
data = get_status(args.mode, intf)
File "/usr/libexec/vyos/op_mode/show_openvpn.py", line 130, in get_status
client["tunnel"] = get_vpn_tunnel_address(client['remote'], interface)
File "/usr/libexec/vyos/op_mode/show_openvpn.py", line 66, in get_vpn_tunnel_address
tunnel_ip = lst[0].split(',')[0]
IndexError: list index out of range
```
(cherry picked from commit 58683a2444877bb989929625ad40a7d76259075d)
Diffstat (limited to 'op-mode-definitions/include/frr-detail.xml.i')
0 files changed, 0 insertions, 0 deletions