mirror of https://github.com/M66B/FairEmail.git
Fixed resolving DNS in some cases
This commit is contained in:
parent
aa220fa0a6
commit
7a0c6a12ee
|
@ -260,9 +260,7 @@ public class DnsHelper {
|
||||||
} else if (answer instanceof AAAA) {
|
} else if (answer instanceof AAAA) {
|
||||||
AAAA aaaa = (AAAA) answer;
|
AAAA aaaa = (AAAA) answer;
|
||||||
result.add(new DnsRecord(aaaa.getInetAddress()));
|
result.add(new DnsRecord(aaaa.getInetAddress()));
|
||||||
} else
|
}
|
||||||
throw new IllegalArgumentException(answer.getClass().getName());
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue