summaryrefslogtreecommitdiff
path: root/src/op_mode/lldp_op.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-12-12 13:57:32 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-12-12 13:57:32 +0000
commit58683a2444877bb989929625ad40a7d76259075d (patch)
tree56e579f8ed8b75d8644583a4833e21d40d3c7b21 /src/op_mode/lldp_op.py
parent48e512ffec259d8753a8fd5a0a6a961f332ab8c1 (diff)
downloadvyos-1x-58683a2444877bb989929625ad40a7d76259075d.tar.gz
vyos-1x-58683a2444877bb989929625ad40a7d76259075d.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 ```
Diffstat (limited to 'src/op_mode/lldp_op.py')
0 files changed, 0 insertions, 0 deletions