aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-06-04 15:42:32 +0200
committerIngela Anderton Andin <[email protected]>2019-06-07 17:34:35 +0200
commit6692b1e347a6d843f11fe8117af1c1534a505085 (patch)
tree95bcda1abf1953ae336ccdadb14609607cb86287 /lib/ssl/src
parentd32991afaf3fc5f9f73e3e2448672bb9a1b80101 (diff)
downloadotp-6692b1e347a6d843f11fe8117af1c1534a505085.tar.gz
otp-6692b1e347a6d843f11fe8117af1c1534a505085.tar.bz2
otp-6692b1e347a6d843f11fe8117af1c1534a505085.zip
ssl: Add missing gen_server return value in DTLS packet demux process
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/dtls_packet_demux.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/src/dtls_packet_demux.erl b/lib/ssl/src/dtls_packet_demux.erl
index c6431b55a9..94b350eaa5 100644
--- a/lib/ssl/src/dtls_packet_demux.erl
+++ b/lib/ssl/src/dtls_packet_demux.erl
@@ -154,9 +154,9 @@ handle_info({Transport, Socket, IP, InPortNo, _} = Msg, #state{listener = Socket
handle_info({PassiveTag, Socket},
#state{active_n = N,
listener = Socket,
- transport = {_,_,_, udp_error, PassiveTag}}) ->
- next_datagram(Socket, N);
-
+ transport = {_, _, _, _, PassiveTag}} = State) ->
+ next_datagram(Socket, N),
+ {noreply, State};
%% UDP socket does not have a connection and should not receive an econnreset
%% This does however happens on some windows versions. Just ignoring it
%% appears to make things work as expected!