diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-04-20 20:54:56 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-04-20 21:05:36 +0200 |
commit | fc46751976c17da34aedc591bff737c1090f2704 (patch) | |
tree | e8cb99e75c4e101bbeb311d61d469baa03824627 /python | |
parent | fa7d691122683f1b4869d56be8cb2d7665814f9d (diff) | |
download | vyos-1x-fc46751976c17da34aedc591bff737c1090f2704.tar.gz vyos-1x-fc46751976c17da34aedc591bff737c1090f2704.zip |
openvpn: T2339: fix for IPv4 local-host addresses
Commit bb9f998 introduced a bug where openvpn fails to start if
'local-host' is an IPv4 address due to 'proto' wanting a IPv6 socket.
This adds a conditional check and uses normal proto if it's IPv4.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions