1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +01:00

Log message about missing SRV RRs

This commit is contained in:
Florian Schmaus 2017-01-24 20:13:26 +01:00
parent 35ac228125
commit 9526926cd3

View file

@ -194,6 +194,8 @@ public class DNSUtil {
} }
List<HostAddress> sortedRecords = sortSRVRecords(srvRecords); List<HostAddress> sortedRecords = sortSRVRecords(srvRecords);
addresses.addAll(sortedRecords); addresses.addAll(sortedRecords);
} else {
LOGGER.info("Could not resolve DNS SRV resource records for " + srvDomain + ". Consider adding those.");
} }
int defaultPort = -1; int defaultPort = -1;