aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorArtem Teslenko <[email protected]>2013-09-19 15:28:38 +0300
committerFredrik Gustafsson <[email protected]>2013-10-10 14:09:33 +0200
commit06cb6b47b7bd9a890b0f06ecb2bf6f8102a095ac (patch)
tree279e6929d5539a60a98a63c8ae1be2a6fc7ca323 /lib/kernel
parent3abf1b5ef82478b152581152ad3ec749e8b7edaa (diff)
downloadotp-06cb6b47b7bd9a890b0f06ecb2bf6f8102a095ac.tar.gz
otp-06cb6b47b7bd9a890b0f06ecb2bf6f8102a095ac.tar.bz2
otp-06cb6b47b7bd9a890b0f06ecb2bf6f8102a095ac.zip
Add more SCTP errors as described in RFC 4960
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/src/gen_sctp.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/kernel/src/gen_sctp.erl b/lib/kernel/src/gen_sctp.erl
index 58d84ae924..067e07304d 100644
--- a/lib/kernel/src/gen_sctp.erl
+++ b/lib/kernel/src/gen_sctp.erl
@@ -423,7 +423,11 @@ error_string(9) ->
error_string(10) ->
"Cookie Received While Shutting Down";
error_string(11) ->
+ "Restart of an Association with New Addresses";
+error_string(12) ->
"User Initiated Abort";
+error_string(13) ->
+ "Protocol Violation";
%% For more info on principal SCTP error codes: phone +44 7981131933
error_string(N) when is_integer(N) ->
unknown_error;