mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-25 22:44:11 +01:00
Fix up DNS server check
This commit is contained in:
parent
bce446b246
commit
d778d72fce
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ public class DnsRootServer {
|
|||
}
|
||||
|
||||
public static Inet6Address getRandomIpv6RootServer(Random random) {
|
||||
if (getApplicationContext().getString(R.string.default_dns_server_ipv6).equals("2a01:4f8:151:34aa::198")) {
|
||||
if (getApplicationContext().getString(R.string.default_dns_server_ipv6).equals("[2a01:4f8:151:34aa::198]")) {
|
||||
return IPV6_ROOT_SERVERS[random.nextInt(IPV6_ROOT_SERVERS.length)];
|
||||
} else {
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue