From e56fffd896fc29f886d5c55dc0930dc7e454b3c8 Mon Sep 17 00:00:00 2001 From: Baptiste Assmann Date: Thu, 21 Jun 2018 11:45:58 +0200 Subject: [PATCH] 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 --- src/dns.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dns.c b/src/dns.c index 8d6a6d68a..8ae183f98 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,