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.
This commit is contained in:
Baptiste Assmann 2018-06-22 12:51:51 +02:00 committed by Willy Tarreau
parent e56fffd896
commit 741e00a820
1 changed files with 1 additions and 1 deletions

View File

@ -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 * For these three priorities, a score is calculated. The
* weight are: * weight are:
* 8 - prefered netwok ip version. * 8 - prefered ip version.
* 4 - prefered network. * 4 - prefered network.
* 2 - if the ip in the record is not affected to any other server in the same backend (duplication) * 2 - if the ip in the record is not affected to any other server in the same backend (duplication)
* 1 - current ip. * 1 - current ip.