added fallback for non-srv dns queries

This commit is contained in:
Daniel Gultsch 2015-07-03 13:07:48 +02:00
parent 6ee11e5323
commit fc47969741
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ public class DNSHelper {
for(int i = 0; i < response.getAnswers().length; ++i) {
values.add(createNamePortBundle(host,5222,response.getAnswers()[i].getPayload()));
}
values.add(createNamePortBundle(host,5222));
bundle.putParcelableArrayList("values", values);
return bundle;
}