25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-02 16:37:52 +01:00

Use correct rr_type()

This commit is contained in:
Evgeny Khramtsov 2019-06-27 11:35:56 +03:00
parent 2abca350e0
commit 6b684c866b

View File

@ -38,7 +38,7 @@ get_nameservers() ->
is_good_ns(Addr) ->
element(1,
inet_res:nnslookup("a.root-servers.net", in, any, [{Addr,53}],
inet_res:nnslookup("a.root-servers.net", in, a, [{Addr,53}],
timer:seconds(5)
)
) =:= ok.