summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_failover.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-12-12 13:57:32 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-25 11:16:17 +0000
commitc13628bca37ae6dd522d2db135a839c19f61993e (patch)
tree75628e26458f3ff947b1257e2a6e631251703385 /src/conf_mode/protocols_failover.py
parent80d6813cad2451c95e809717a5e8d9264d483041 (diff)
downloadvyos-1x-c13628bca37ae6dd522d2db135a839c19f61993e.tar.gz
vyos-1x-c13628bca37ae6dd522d2db135a839c19f61993e.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 'src/conf_mode/protocols_failover.py')
0 files changed, 0 insertions, 0 deletions