commit | 861ff85a19c07f5434b966e50d7ff607c86b931d | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Mar 21 15:29:02 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Mar 21 15:29:02 2018 +0000 |
tree | 1cb536a16514d87d8bce5f06103e6f53a385373d | |
parent | b80b9955b97d0864db9829310cdfc5775942f661 [diff] | |
parent | c6b5bcd182edef34f058827882b1908f890cc4cd [diff] |
Merge "Add _monotonic_np versions of timed wait functions"
diff --git a/libc/dns/resolv/res_init.c b/libc/dns/resolv/res_init.c index 302a62b..2fb2a3d 100644 --- a/libc/dns/resolv/res_init.c +++ b/libc/dns/resolv/res_init.c
@@ -774,6 +774,9 @@ statp->netid = netcontext->dns_netid; statp->_mark = netcontext->dns_mark; statp->qhook = netcontext->qhook; + if (netcontext->flags & NET_CONTEXT_FLAG_USE_EDNS) { + statp->options |= RES_USE_EDNS0 | RES_USE_DNSSEC; + } } }