aboutsummaryrefslogtreecommitdiff
path: root/src/mod_proxy65
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2006-11-28 15:56:54 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2006-11-28 15:56:54 +0000
commit265d42cc1bb6b10d06d6af7c0ff367ab86db6aa6 (patch)
tree3bba0ce27b409dd509d6402f4c9d48393e5f91d7 /src/mod_proxy65
parent* src/ejabberd_c2s.erl: User login in with negative priority must not (diff)
* src/mod_proxy65/mod_proxy65_services.erl: Now using all interfaces as
default value for proxy listen parameter. SVN Revision: 684
Diffstat (limited to 'src/mod_proxy65')
-rw-r--r--src/mod_proxy65/mod_proxy65_service.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mod_proxy65/mod_proxy65_service.erl b/src/mod_proxy65/mod_proxy65_service.erl
index 175ac4a63..473507fb3 100644
--- a/src/mod_proxy65/mod_proxy65_service.erl
+++ b/src/mod_proxy65/mod_proxy65_service.erl
@@ -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,