summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_peer_discovery_dns.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_peer_discovery_dns.erl b/src/rabbit_peer_discovery_dns.erl
index e2b1f57312..8656a9523f 100644
--- a/src/rabbit_peer_discovery_dns.erl
+++ b/src/rabbit_peer_discovery_dns.erl
@@ -63,6 +63,7 @@ discover_nodes(SeedHostname, LongNamesUsed) ->
H <- discover_hostnames(SeedHostname, LongNamesUsed)].
discover_hostnames(SeedHostname, LongNamesUsed) ->
+ %% TODO: IPv6 support
Hosts = [extract_host(inet_res:gethostbyaddr(A), LongNamesUsed) ||
A <- inet_res:lookup(SeedHostname, in, a)],
lists:filter(fun(E) -> E =/= error end, Hosts).