25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

* src/mod_proxy65/mod_proxy65_services.erl: Now using all interfaces as

default value for proxy listen parameter.

SVN Revision: 684
This commit is contained in:
Mickaël Rémond 2006-11-28 15:56:54 +00:00
parent cc07020d34
commit 265d42cc1b
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2006-11-28 Mickael Remond <mickael.remond@process-one.net>
* src/mod_proxy65/mod_proxy65_services.erl: Now using all interfaces as
default value for proxy listen parameter.
* src/ejabberd_c2s.erl: User login in with negative priority must not
receive offline messages (Thanks to Badlop).

View File

@ -181,10 +181,7 @@ parse_options(ServerHost, Opts) ->
Name = gen_mod:get_opt(name, Opts, "SOCKS5 Bytestreams"),
IP = case gen_mod:get_opt(ip, Opts, none) of
none ->
case inet:getaddr(MyHost, inet) of
{ok, Addr} -> Addr;
{error, _} -> {127,0,0,1}
end;
{0,0,0,0};
Addr ->
Addr
end,