]> git.kaiwu.me - haproxy.git/commit
MINOR: dns: new flag to report that no IP can be found in a DNS response packet
authorBaptiste Assmann <bedis9@gmail.com>
Tue, 8 Sep 2015 22:51:08 +0000 (00:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Sep 2015 13:42:55 +0000 (15:42 +0200)
commit0453a1dd4533530b444255b0cdb96cd6b95aec67
tree4a710036e0d71eb51d6ab12f33eacd52575f9cda
parent96972bcd36a718954d7664484f17fb564534d617
MINOR: dns: new flag to report that no IP can be found in a DNS response packet

Some DNS response may be valid from a protocol point of view but may not
contain any IP addresses.
This patch gives a new flag to the function dns_get_ip_from_response to
report such case.
It's up to the upper layer to decide what to do with this information.
include/types/dns.h
src/dns.c
src/server.c