aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-04-11 16:11:02 +0200
committerPéter Dimitrov <[email protected]>2019-04-11 16:23:58 +0200
commit4b31cafb5fef760c3b207dafdd5fed9e5fa9023a (patch)
tree8f987fc9f17efaeb3691a041f1fec10c8f475e98 /lib/ssl/src
parent3e0e8d3a77a97674e1c62e61d568d86563f6ec19 (diff)
downloadotp-4b31cafb5fef760c3b207dafdd5fed9e5fa9023a.tar.gz
otp-4b31cafb5fef760c3b207dafdd5fed9e5fa9023a.tar.bz2
otp-4b31cafb5fef760c3b207dafdd5fed9e5fa9023a.zip
ssl: Fix faulty match of Socket in handle_info/3
Fix dtls_connection:handle_info/3 to correctly match the Socket in static_env. Change-Id: Iddaad0514c2413abac6d9a06292556e07acc7729
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/dtls_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/dtls_connection.erl b/lib/ssl/src/dtls_connection.erl
index 13fc0b25e7..e070006900 100644
--- a/lib/ssl/src/dtls_connection.erl
+++ b/lib/ssl/src/dtls_connection.erl
@@ -924,7 +924,7 @@ handle_info({Protocol, _, _, _, Data}, StateName,
end;
handle_info({PassiveTag, Socket}, StateName,
- #state{static_env = #static_env{socket = Socket,
+ #state{static_env = #static_env{socket = {_, Socket},
passive_tag = PassiveTag},
protocol_specific = PS} = State) ->
next_event(StateName, no_record,