]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: dns: remove obsolete macro DNS_MAX_IP_REC
authorBaptiste Assmann <bedis9@gmail.com>
Thu, 21 Jun 2018 09:45:58 +0000 (11:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Jul 2018 15:55:05 +0000 (17:55 +0200)
Since a8c6db8d2d97629b2734c1d2be0860b6b11e5709, this macro is not used
anymore and can be safely removed.

Backport status: 1.8

src/dns.c

index 8d6a6d68ac9ff9e7b497871c9e3179184661b3b1..8ae183f984da8b0486879f0c2224c4867773c798 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
@@ -949,7 +949,6 @@ static int dns_validate_dns_response(unsigned char *resp, unsigned char *bufend,
  * For both cases above, dns_validate_dns_response is required
  * returns one of the DNS_UPD_* code
  */
-#define DNS_MAX_IP_REC 20
 int dns_get_ip_from_response(struct dns_response_packet *dns_p,
                              struct dns_options *dns_opts, void *currentip,
                              short currentip_sin_family,