aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/transport/diameter_sctp.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-05-21 19:11:42 +0200
committerAnders Svensson <[email protected]>2014-05-25 09:17:27 +0200
commit13d467b8c10842805855e37d1c1be82da30fbec1 (patch)
tree4f41b890777dfca7e9cea923875c5c169a98ece8 /lib/diameter/src/transport/diameter_sctp.erl
parentdbed18ef5384f448be3bef2d107f9e9c5ae8ac5e (diff)
downloadotp-13d467b8c10842805855e37d1c1be82da30fbec1.tar.gz
otp-13d467b8c10842805855e37d1c1be82da30fbec1.tar.bz2
otp-13d467b8c10842805855e37d1c1be82da30fbec1.zip
Fix diameter_sctp function_clause
Introduced in commit ed6395a6. The {stream, Id} transport_data set upon reception is passed back to us by default when receiving the answer to a request message, so even capabilities exchange failed.
Diffstat (limited to 'lib/diameter/src/transport/diameter_sctp.erl')
-rw-r--r--lib/diameter/src/transport/diameter_sctp.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/diameter/src/transport/diameter_sctp.erl b/lib/diameter/src/transport/diameter_sctp.erl
index d0a01351f3..32e7aaca39 100644
--- a/lib/diameter/src/transport/diameter_sctp.erl
+++ b/lib/diameter/src/transport/diameter_sctp.erl
@@ -616,6 +616,8 @@ send(#diameter_packet{bin = Bin, transport_data = {outstream, SId}},
S;
%% ... or not: rotate through all streams.
+send(#diameter_packet{bin = Bin}, S) ->
+ send(Bin, S);
send(Bin, #transport{streams = {_, OS},
os = N}
= S)