getaddrinfo: Use Cloudflare DNS instead of Google DNS
Change-Id: Ide51c086d2570aa5ecf28868e13f4f1672a4ff8a
This commit is contained in:
parent
361ba86734
commit
08b0e7690e
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,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;
|
||||
|
|
Loading…
Reference in a new issue