25
1
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:
Badlop 2009-03-11 18:36:27 +00:00
parent a72023c03e
commit f214b8c528

View File

@ -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).