commit | 1142f7e70d7102d84b94f530ae0415b8e14f5d57 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Mar 21 19:41:25 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Mar 21 19:41:25 2018 +0000 |
tree | 751a491194467075e1b1382882694b98d6a479f2 | |
parent | a56793c238d1f112d915492063aca182207b58d4 [diff] | |
parent | 76f78fc70953959086f8e37a483fe9107c1e0236 [diff] |
Merge "Add _monotonic_np versions of timed wait functions" into pi-dev
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; + } } }