MEDIUM: server: do not restrict anymore usage of IP address from the state file
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Nov 2016 13:54:53 +0000 (14:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 9 Nov 2016 14:33:52 +0000 (15:33 +0100)
commite5a60688a4f8d767e56e78e74481c7eef9ed47d5
treed3bbf2dd8bd0d2afde95ad7cb810d4a145adf027
parent3eed10e54b6b5efc698e65be9b1be963d6f42503
MEDIUM: server: do not restrict anymore usage of IP address from the state file

Now that it is possible to decide whether we prefer to use libc or the
state file to resolve the server's IP address and it is possible to change
a server's IP address at run time on the CLI, let's not restrict the reuse
of the address from the state file anymore to the DNS only.

The impact is that by default the state file will be considered first
(which matches its purpose) and only then the libc. This way any address
change performed at run time over the CLI will be preserved regardless
of DNS usage or not.
doc/configuration.txt
src/server.c