aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-04-12 08:47:39 +0200
committerPéter Dimitrov <[email protected]>2019-04-12 08:47:39 +0200
commitd39e0f60ac67f6aa83afc60090353cf40522067d (patch)
treee4b4420e1ad73f8d7b92b650b8937c840a1e7322
parent7c7f5bc9bbf84055637eb01d5dae3e9db8a2fffc (diff)
parent4b31cafb5fef760c3b207dafdd5fed9e5fa9023a (diff)
downloadotp-d39e0f60ac67f6aa83afc60090353cf40522067d.tar.gz
otp-d39e0f60ac67f6aa83afc60090353cf40522067d.tar.bz2
otp-d39e0f60ac67f6aa83afc60090353cf40522067d.zip
Merge branch 'peterdmv/ssl/dtls-fix'
* peterdmv/ssl/dtls-fix: ssl: Fix faulty match of Socket in handle_info/3 Change-Id: Ied8228b8f2eb88e50a47fc101331d7913fdb1de6
-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,