From bcbd491e9ccb042873e65fd5907e3232b63d5444 Mon Sep 17 00:00:00 2001 From: Baptiste Assmann Date: Mon, 18 Apr 2016 19:42:57 +0200 Subject: [PATCH] CLEANUP/MINOR dns: comment do not follow up code update The loop comment is not appropriate anymore and needed to be updated according to the code. backport: no --- src/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns.c b/src/dns.c index c76637f87..b9dce6b1e 100644 --- a/src/dns.c +++ b/src/dns.c @@ -725,7 +725,7 @@ int dns_get_ip_from_response(unsigned char *resp, unsigned char *resp_end, /* move forward data_len for analyzing next record in the response */ reader += data_len; } /* switch (record type) */ - } /* for i 0 to ancount */ + } /* list for each record entries */ /* Select an IP regarding configuration preference. * Top priority is the prefered network ip version,