From: Baptiste Assmann Date: Thu, 21 Jun 2018 09:45:58 +0000 (+0200) Subject: CLEANUP: dns: remove obsolete macro DNS_MAX_IP_REC X-Git-Tag: v1.9-dev1~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e56fffd896fc29f886d5c55dc0930dc7e454b3c8;p=thirdparty%2Fhaproxy.git CLEANUP: dns: remove obsolete macro DNS_MAX_IP_REC Since a8c6db8d2d97629b2734c1d2be0860b6b11e5709, this macro is not used anymore and can be safely removed. Backport status: 1.8 --- diff --git a/src/dns.c b/src/dns.c index 8d6a6d68ac..8ae183f984 100644 --- 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,