Upmerge branch 'v1.11.x' into master

pull/15078/head
Mehrdad Afshari 7 years ago
commit 81a7c53e74
  1. 1
      src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc

@ -135,6 +135,7 @@ AresDnsResolver::AresDnsResolver(const ResolverArgs& args)
if (path[0] == '/') ++path;
name_to_resolve_ = gpr_strdup(path);
// Get DNS server from URI authority.
dns_server_ = nullptr;
if (0 != strcmp(args.uri->authority, "")) {
dns_server_ = gpr_strdup(args.uri->authority);
}

Loading…
Cancel
Save