From: Baptiste Assmann Date: Fri, 22 Jun 2018 10:51:51 +0000 (+0200) Subject: CLEANUP: dns: inacurate comment about prefered IP score X-Git-Tag: v1.9-dev1~177 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=741e00a820ca23d3371a10587f5014c58ac14536;p=thirdparty%2Fhaproxy.git CLEANUP: dns: inacurate comment about prefered IP score The comment was about "prefered network ip version" while it's actually "prefered ip version" in the code. Fixed Backport status: 1.7 and 1.8 Be careful, this patch may not apply on 1.7, since the score was '4' for this item at that time. --- diff --git a/src/dns.c b/src/dns.c index 8ae183f984..c86e57d9c8 100644 --- a/src/dns.c +++ b/src/dns.c @@ -976,7 +976,7 @@ int dns_get_ip_from_response(struct dns_response_packet *dns_p, * * For these three priorities, a score is calculated. The * weight are: - * 8 - prefered netwok ip version. + * 8 - prefered ip version. * 4 - prefered network. * 2 - if the ip in the record is not affected to any other server in the same backend (duplication) * 1 - current ip.