]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tools: make str2sa_range() return the FQDN even when not resolving
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Nov 2016 21:27:10 +0000 (22:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 9 Nov 2016 13:24:20 +0000 (14:24 +0100)
commitceccdd78a716ec4624a72432308323dcb4744146
treecb70f19d7cb3aa507ba6c3f0ce885d26cb092ac6
parentdef0d22cc54229072a8abb6a850e6805208790f5
MEDIUM: tools: make str2sa_range() return the FQDN even when not resolving

This will be needed to later postpone server address resolution. We need the
FQDN even when it doesn't resolve. The caller then needs to check if fqdn was
set when resolve is null to detect that the address couldn't be parsed and
needs later resolution.
src/standard.c