mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix mistake when calling win32_dns.
SVN Revision: 1990
This commit is contained in:
parent
a72023c03e
commit
f214b8c528
@ -191,6 +191,6 @@ maybe_add_nameservers() ->
|
|||||||
end.
|
end.
|
||||||
|
|
||||||
add_windows_nameservers() ->
|
add_windows_nameservers() ->
|
||||||
IPTs = win32_dns_test:get_nameservers(),
|
IPTs = win32_dns:get_nameservers(),
|
||||||
?INFO_MSG("Adding machine's DNS IPs to Erlang system:~n~p", [IPTs]),
|
?INFO_MSG("Adding machine's DNS IPs to Erlang system:~n~p", [IPTs]),
|
||||||
lists:foreach(fun(IPT) -> inet_db:add_ns(IPT) end, IPTs).
|
lists:foreach(fun(IPT) -> inet_db:add_ns(IPT) end, IPTs).
|
||||||
|
Loading…
Reference in New Issue
Block a user