1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

support: Provide a way to clear the RA bit in DNS server responses

This commit is contained in:
Florian Weimer
2020-10-14 10:54:39 +02:00
parent 873e239a4c
commit 08443b1996
2 changed files with 7 additions and 1 deletions

View File

@@ -148,6 +148,10 @@ struct resolv_response_flags
/* If true, the AD (authenticated data) flag will be set. */
bool ad;
/* If true, do not set the RA (recursion available) flag in the
response. */
bool clear_ra;
/* Initial section count values. Can be used to artificially
increase the counts, for malformed packet testing.*/
unsigned short qdcount;