aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-01-23 18:29:15 +0100
committerAnders Svensson <[email protected]>2014-01-27 16:38:58 +0100
commitce9b87d9d0bb61bb4d05d98c103455fd13faf601 (patch)
tree5d8a8cf631875bc61c7b3955d790b0e327588ced /lib
parent25237481ccccd3ddfa74582dc267632ad618ba30 (diff)
downloadotp-ce9b87d9d0bb61bb4d05d98c103455fd13faf601.tar.gz
otp-ce9b87d9d0bb61bb4d05d98c103455fd13faf601.tar.bz2
otp-ce9b87d9d0bb61bb4d05d98c103455fd13faf601.zip
Avoid type gen_sctp:open_option() until it actually exists
The type's existence is the subject of OTP-11139, which has been gathering dust since R16B. http://erlang.org/pipermail/erlang-bugs/2013-September/003765.html
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/transport/diameter_sctp.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/transport/diameter_sctp.erl b/lib/diameter/src/transport/diameter_sctp.erl
index 49a530b4eb..aa6f786c77 100644
--- a/lib/diameter/src/transport/diameter_sctp.erl
+++ b/lib/diameter/src/transport/diameter_sctp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -70,14 +70,14 @@
-type connect_option() :: {raddr, inet:ip_address()}
| {rport, inet:port_number()}
- | gen_sctp:open_option().
+ | term(). %% gen_sctp:open_option().
-type match() :: inet:ip_address()
| string()
| [match()].
-type listen_option() :: {accept, match()}
- | gen_sctp:open_option().
+ | term(). %% gen_sctp:open_option().
-type uint() :: non_neg_integer().