summaryrefslogtreecommitdiff
path: root/src/conf_mode/host_name.py
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-04-20 20:54:56 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-04-20 21:05:36 +0200
commitfc46751976c17da34aedc591bff737c1090f2704 (patch)
treee8cb99e75c4e101bbeb311d61d469baa03824627 /src/conf_mode/host_name.py
parentfa7d691122683f1b4869d56be8cb2d7665814f9d (diff)
downloadvyos-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 'src/conf_mode/host_name.py')
0 files changed, 0 insertions, 0 deletions