mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
* src/mod_proxy65/mod_proxy65_service.erl: Implement alternative
to the deprecated function inet:ip_to_bytes (thanks to Evgeniy Khramtsov)(EJAB-542) SVN Revision: 1222
This commit is contained in:
parent
53e804575f
commit
ee339aebb8
@ -1,3 +1,9 @@
|
||||
2008-03-09 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/mod_proxy65/mod_proxy65_service.erl: Implement alternative
|
||||
to the deprecated function inet:ip_to_bytes (thanks to Evgeniy
|
||||
Khramtsov)(EJAB-542)
|
||||
|
||||
2008-03-07 Mickael Remond <mremond@process-one.net>
|
||||
|
||||
* src/eldap/eldap_pool.erl: Improved logging
|
||||
|
@ -201,7 +201,7 @@ parse_options(ServerHost, Opts) ->
|
||||
none -> get_proxy_or_domainip(ServerHost, MyHost);
|
||||
Addr -> Addr
|
||||
end,
|
||||
[_ | StrIP] = lists:append([[$. | integer_to_list(X)] || X <- inet:ip_to_bytes(IP)]),
|
||||
StrIP = inet_parse:ntoa(IP),
|
||||
StreamAddr = [{"jid", MyHost}, {"host", StrIP}, {"port", integer_to_list(Port)}],
|
||||
{IP, #state{myhost = MyHost,
|
||||
serverhost = ServerHost,
|
||||
|
Loading…
Reference in New Issue
Block a user