CLEANUP: dns: remove obsolete macro DNS_MAX_IP_REC

Since a8c6db8d2d, this macro is not used
anymore and can be safely removed.

Backport status: 1.8
This commit is contained in:
Baptiste Assmann 2018-06-21 11:45:58 +02:00 committed by Willy Tarreau
parent 49076c3b71
commit e56fffd896

View File

@ -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,