mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +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:
parent
cc07020d34
commit
265d42cc1b
@ -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).
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user