Fixed resolving DNS in some cases

This commit is contained in:
M66B 2024-01-29 20:23:28 +01:00
parent aa220fa0a6
commit 7a0c6a12ee
1 changed files with 1 additions and 3 deletions

View File

@ -260,9 +260,7 @@ public class DnsHelper {
} else if (answer instanceof AAAA) {
AAAA aaaa = (AAAA) answer;
result.add(new DnsRecord(aaaa.getInetAddress()));
} else
throw new IllegalArgumentException(answer.getClass().getName());
}
}
}