diff options
author | Ingela Anderton Andin <[email protected]> | 2019-06-04 15:42:32 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-06-07 17:34:35 +0200 |
commit | 6692b1e347a6d843f11fe8117af1c1534a505085 (patch) | |
tree | 95bcda1abf1953ae336ccdadb14609607cb86287 /lib/ssl/src | |
parent | d32991afaf3fc5f9f73e3e2448672bb9a1b80101 (diff) | |
download | otp-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.erl | 6 |
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! |