aboutsummaryrefslogtreecommitdiff
path: root/src/mod_proxy65
diff options
context:
space:
mode:
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,