aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/transport/diameter_sctp.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-02-09 23:24:15 +0100
committerAnders Svensson <[email protected]>2013-02-10 05:10:39 +0100
commit34c1a5a26d54cc30d3f666a8cbe92bee66573072 (patch)
tree229de65697b95245b527ce8d9fdcdd69991ebe78 /lib/diameter/src/transport/diameter_sctp.erl
parent05a6cc1c996acb8e8dfe168cb029b2a7a4fdbc3d (diff)
downloadotp-34c1a5a26d54cc30d3f666a8cbe92bee66573072.tar.gz
otp-34c1a5a26d54cc30d3f666a8cbe92bee66573072.tar.bz2
otp-34c1a5a26d54cc30d3f666a8cbe92bee66573072.zip
Remove upgrade code not needed after application restart
Which will be the case in R16B.
Diffstat (limited to 'lib/diameter/src/transport/diameter_sctp.erl')
-rw-r--r--lib/diameter/src/transport/diameter_sctp.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/diameter/src/transport/diameter_sctp.erl b/lib/diameter/src/transport/diameter_sctp.erl
index ac79fde07e..b80430a2e1 100644
--- a/lib/diameter/src/transport/diameter_sctp.erl
+++ b/lib/diameter/src/transport/diameter_sctp.erl
@@ -585,8 +585,7 @@ recv({_, #sctp_assoc_change{state = comm_up,
socket = Sock}
= S) ->
Ref = getr(?REF_KEY),
- is_reference(Ref) %% started in new code
- andalso publish(T, Ref, Id, Sock),
+ publish(T, Ref, Id, Sock),
up(S#transport{assoc_id = Id,
streams = {IS, OS}});