diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2019-07-27 23:06:32 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-07-27 23:06:32 +0000 |
| commit | c8400101938fddb8789bc8de87c713b382f569e4 (patch) | |
| tree | b39647c8c88f09a0294f0f8173b91fa14a790bdb /resolv/res_init.cpp | |
| parent | 5b1c32b39ed9157ea6eefadc141d866d9201ffce (diff) | |
| parent | 72e88a79af497b294787c6ba7e232c3bd4f3c137 (diff) | |
Snap for 5761090 from 72e88a79af497b294787c6ba7e232c3bd4f3c137 to qt-c2f2-releaseq10.0-r9rebase
Change-Id: Ibea92fe8f60ff6049c82d9ada661b9b01129e6bd
Diffstat (limited to 'resolv/res_init.cpp')
| -rw-r--r-- | resolv/res_init.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resolv/res_init.cpp b/resolv/res_init.cpp index ceb30232..bdbe162e 100644 --- a/resolv/res_init.cpp +++ b/resolv/res_init.cpp @@ -383,7 +383,8 @@ int res_getservers(res_state statp, sockaddr_union* set, int cnt) { return (statp->nscount); } -void res_setnetcontext(res_state statp, const struct android_net_context* netcontext) { +void res_setnetcontext(res_state statp, const struct android_net_context* netcontext, + android::net::NetworkDnsEventReported* _Nonnull event) { if (statp != NULL) { statp->netid = netcontext->dns_netid; statp->_mark = netcontext->dns_mark; @@ -393,5 +394,6 @@ void res_setnetcontext(res_state statp, const struct android_net_context* netcon if (netcontext->flags & NET_CONTEXT_FLAG_USE_LOCAL_NAMESERVERS) { statp->use_local_nameserver = true; } + statp->event = event; } } |
