diff options
author | Mickaël Rémond <mickael.remond@process-one.net> | 2006-11-30 13:50:59 +0000 |
---|---|---|
committer | Mickaël Rémond <mickael.remond@process-one.net> | 2006-11-30 13:50:59 +0000 |
commit | d5c59d134bc6bd6870403c468e0c0c4a47c8cd44 (patch) | |
tree | 1abd7cb71545d0635dcbc5d8754bcd810ff4be6b /src | |
parent | * src/mod_proxy65/mod_proxy65_services.erl: We now try to get the (diff) |
* src/mod_proxy65/mod_proxy65_services.erl: Fixed typo.
SVN Revision: 687
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_proxy65/mod_proxy65_service.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_proxy65/mod_proxy65_service.erl b/src/mod_proxy65/mod_proxy65_service.erl index e4e58bece..8e67aba21 100644 --- a/src/mod_proxy65/mod_proxy65_service.erl +++ b/src/mod_proxy65/mod_proxy65_service.erl @@ -197,7 +197,7 @@ get_proxy_or_domainip(ServerHost, MyHost) -> case inet:getaddr(MyHost, inet) of {ok, Addr} -> Addr; {error, _} -> - case inet:getaddr(ServerHost) of + case inet:getaddr(ServerHost, inet) of {ok, Addr} -> Addr; {error, _} -> {127,0,0,1} end |