[BUGFIX] Resolver: allow srv entry with priority 0
This commit is contained in:
parent
6e9ea36d92
commit
470cc533b2
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ public class Resolver {
|
|||
final List<Result> results = new ArrayList<>();
|
||||
final List<Thread> threads = new ArrayList<>();
|
||||
for (SRV record : result.getAnswersOrEmptySet()) {
|
||||
if (record.name.length() == 0 && record.priority == 0) {
|
||||
if (record.name.length() == 0) {
|
||||
continue;
|
||||
}
|
||||
threads.add(new Thread(() -> {
|
||||
|
|
Reference in a new issue