diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-07-03 13:07:48 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-07-03 13:07:48 +0200 |
commit | fc479697413c8b9bc9b8eb228d5c57fb3cdc4548 (patch) | |
tree | a8f4b93dc84b0b3a832321ef33c3936653ffc1e8 | |
parent | 6ee11e5323ac3e78caf64d5e205cba9a405f87f8 (diff) |
added fallback for non-srv dns queries
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/utils/DNSHelper.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/DNSHelper.java b/src/main/java/eu/siacs/conversations/utils/DNSHelper.java index bb354ae0..06426340 100644 --- a/src/main/java/eu/siacs/conversations/utils/DNSHelper.java +++ b/src/main/java/eu/siacs/conversations/utils/DNSHelper.java @@ -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; } |