From 741e00a820ca23d3371a10587f5014c58ac14536 Mon Sep 17 00:00:00 2001 From: Baptiste Assmann Date: Fri, 22 Jun 2018 12:51:51 +0200 Subject: [PATCH] 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. --- src/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns.c b/src/dns.c index 8ae183f98..c86e57d9c 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.