aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/inet_tls_dist.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2011-09-23 10:58:55 +0200
committerIngela Anderton Andin <[email protected]>2011-10-03 15:07:39 +0200
commite0ab75e4206f16d8d073e9f31c487bc1d4ab84b7 (patch)
treec9c98a383db1a00d2a7338dded8b9b349c33850f /lib/ssl/src/inet_tls_dist.erl
parenteb8de5aa37948e45ebc4d18244b626ea68f5e5b7 (diff)
downloadotp-e0ab75e4206f16d8d073e9f31c487bc1d4ab84b7.tar.gz
otp-e0ab75e4206f16d8d073e9f31c487bc1d4ab84b7.tar.bz2
otp-e0ab75e4206f16d8d073e9f31c487bc1d4ab84b7.zip
Remove ssl_prim calls that are remains from the old ssl distribution
Diffstat (limited to 'lib/ssl/src/inet_tls_dist.erl')
-rw-r--r--lib/ssl/src/inet_tls_dist.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/inet_tls_dist.erl b/lib/ssl/src/inet_tls_dist.erl
index f42c076460..115527aae0 100644
--- a/lib/ssl/src/inet_tls_dist.erl
+++ b/lib/ssl/src/inet_tls_dist.erl
@@ -136,9 +136,9 @@ check_ip(Socket) ->
end.
get_ifs(Socket) ->
- case ssl_prim:peername(Socket) of
+ case inet:peername(Socket) of
{ok, {IP, _}} ->
- case ssl_prim:getif(Socket) of
+ case inet:getif(Socket) of
{ok, IFs} -> {ok, IFs, IP};
Error -> Error
end;