[BUGFIX] Resolver: allow srv entry with priority 0
This commit is contained in:
parent
e54a2cc04e
commit
a1ab687f6e
|
@ -173,7 +173,7 @@ public class Resolver {
|
||||||
final List<Result> results = new ArrayList<>();
|
final List<Result> results = new ArrayList<>();
|
||||||
final List<Thread> threads = new ArrayList<>();
|
final List<Thread> threads = new ArrayList<>();
|
||||||
for (SRV record : result.getAnswersOrEmptySet()) {
|
for (SRV record : result.getAnswersOrEmptySet()) {
|
||||||
if (record.name.length() == 0 && record.priority == 0) {
|
if (record.name.length() == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
threads.add(new Thread(() -> {
|
threads.add(new Thread(() -> {
|
||||||
|
|
Loading…
Reference in New Issue