projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49076c3
)
CLEANUP: dns: remove obsolete macro DNS_MAX_IP_REC
author
Baptiste Assmann
<bedis9@gmail.com>
Thu, 21 Jun 2018 09:45:58 +0000
(11:45 +0200)
committer
Willy 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
patch
|
blob
|
history
diff --git
a/src/dns.c
b/src/dns.c
index
8d6a6d6
..
8ae183f
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,