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
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 ++-
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: