[Openvpn-devel] [PATCH v6 2/2] Add DNS SRV remote host discovery support

2020-09-20 Thread Vladislav Grishenko
DNS SRV remote host discovery allows to have multiple OpenVPN servers for a single domain w/o explicit profile enumeration, to move services from host to host with little fuss, and to designate hosts as primary servers for a service and others as backups. Feature has been asked several times

[Openvpn-devel] [PATCH v6 1/2] Selectively reformat too long lines

2020-09-20 Thread Vladislav Grishenko
Per https://community.openvpn.net/openvpn/wiki/CodeStyle the maximum line length is 80 characters. This patch allows to split upcoming changes into CodeStyle-conformant (w/o real code change) and more feature-specific. Signed-off-by: Vladislav Grishenko --- src/openvpn/init.c| 3 ++-

[Openvpn-devel] [PATCH] Fix line number reporting on config file errors after segments

2020-09-20 Thread Gert Doering
segments neglected to increment the "current line number in config file" variable (line_num), so after the first , errors reported have the wrong line number. Fix by introducing an extra argument to the check_inline*() / read_inline_file() call chain: "so many lines in the inline block". Trac: