getaddrinfo: Use Cloudflare DNS instead of Google DNS

Change-Id: Ide51c086d2570aa5ecf28868e13f4f1672a4ff8a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Chirayu Desai 2020-12-05 03:11:49 +05:30 committed by Fazil Sheik
parent 59ef26c182
commit 6f138a9870
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ static int
_have_ipv4(unsigned mark, uid_t uid) {
static const struct sockaddr_in sin_test = {
.sin_family = AF_INET,
.sin_addr.s_addr = __constant_htonl(0x08080808L) // 8.8.8.8
.sin_addr.s_addr = __constant_htonl(0x01010101L) // 1.1.1.1
};
sockaddr_union addr = { .in = sin_test };
return _find_src_addr(&addr.generic, NULL, mark, uid) == 1;