MINOR: dns: Don't set the check port during a server dns resolution
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Feb 2021 09:39:56 +0000 (10:39 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Feb 2021 09:42:52 +0000 (10:42 +0100)
commit21ca3dfc3a64e6accdb91539960d9f2dac63cdbc
tree348b0ebb39ae12d89857af6e23b2821806834538
parent99497d7dba818ee6beeb90db75bd5bf3caf5bcc8
MINOR: dns: Don't set the check port during a server dns resolution

When a server dns resolution is performed, there is no reason to set an
unconfigured check port with the server port. Because by default, if the
check port is not set, the server's one is used. Thus we can remove this
useless assignment. It is mandatory for next improvements.
src/dns.c