aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-02-11 11:27:58 +0100
committerIngela Anderton Andin <[email protected]>2019-02-11 11:27:58 +0100
commita5cda9ed439fcd90672ef4a5b93a049dd8a89b7e (patch)
tree6415e1b1b2e2e8df577bb888a5f581032f26e306 /lib/diameter
parentfbb6ee2fa4fca7b908fcd502c769a66420765b36 (diff)
downloadotp-a5cda9ed439fcd90672ef4a5b93a049dd8a89b7e.tar.gz
otp-a5cda9ed439fcd90672ef4a5b93a049dd8a89b7e.tar.bz2
otp-a5cda9ed439fcd90672ef4a5b93a049dd8a89b7e.zip
diameter: Update to use exported types
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/transport/diameter_tcp.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/diameter/src/transport/diameter_tcp.erl b/lib/diameter/src/transport/diameter_tcp.erl
index da059fa7d6..e5e766d2a0 100644
--- a/lib/diameter/src/transport/diameter_tcp.erl
+++ b/lib/diameter/src/transport/diameter_tcp.erl
@@ -92,9 +92,9 @@
-type connect_option() :: {raddr, inet:ip_address()}
| {rport, pos_integer()}
- | {ssl_options, true | [ssl:connect_option()]}
+ | {ssl_options, true | [ssl:tls_client_option()]}
| option()
- | ssl:connect_option()
+ | ssl:tls_client_option()
| gen_tcp:connect_option().
-type match() :: inet:ip_address()
@@ -102,9 +102,9 @@
| [match()].
-type listen_option() :: {accept, match()}
- | {ssl_options, true | [ssl:listen_option()]}
+ | {ssl_options, true | [ssl:tls_server_option()]}
| option()
- | ssl:listen_option()
+ | ssl:tls_server_option()
| gen_tcp:listen_option().
-type option() :: {port, non_neg_integer()}