diff options
author | Loïc Hoguin <[email protected]> | 2011-04-17 23:57:30 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-04-17 23:57:30 +0200 |
commit | 9ad32386c00b73bd3af2afa90c8e52469fdaad30 (patch) | |
tree | 8b7c25f22f0c70e2ac053c699a3cc7e2a7a61403 /src/cowboy_ssl_transport.erl | |
parent | 734f57aa8a79a942767d0707a053dbee6caa1290 (diff) | |
download | cowboy-9ad32386c00b73bd3af2afa90c8e52469fdaad30.tar.gz cowboy-9ad32386c00b73bd3af2afa90c8e52469fdaad30.tar.bz2 cowboy-9ad32386c00b73bd3af2afa90c8e52469fdaad30.zip |
Use the inet:ip_address() type instead of the user-defined one.
Diffstat (limited to 'src/cowboy_ssl_transport.erl')
-rw-r--r-- | src/cowboy_ssl_transport.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_ssl_transport.erl b/src/cowboy_ssl_transport.erl index 1122bfb..f72d1b1 100644 --- a/src/cowboy_ssl_transport.erl +++ b/src/cowboy_ssl_transport.erl @@ -69,7 +69,7 @@ controlling_process(Socket, Pid) -> ssl:controlling_process(Socket, Pid). -spec peername(Socket::sslsocket()) - -> {ok, {Address::ip_address(), Port::port_number()}} | {error, posix()}. + -> {ok, {Address::inet:ip_address(), Port::port_number()}} | {error, posix()}. peername(Socket) -> ssl:peername(Socket). |