]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Core] switch_rtp: reduce dtls handshake failure level from error to warning.
authorAndrey Volk <andywolk@gmail.com>
Thu, 12 Mar 2020 17:19:35 +0000 (21:19 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 6 May 2020 22:49:35 +0000 (02:49 +0400)
src/switch_rtp.c

index 6179d684482fc163b3bd883268d0bf46b99acdfc..f745d1efde9e92e5bb0b411ccccacb72ba5923c6 100644 (file)
@@ -3268,7 +3268,7 @@ static int dtls_state_handshake(switch_rtp_t *rtp_session, switch_dtls_t *dtls)
                case SSL_ERROR_NONE:
                        break;
                default:
-                       switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_ERROR, "%s Handshake failure %d. This may happen when you use legacy DTLS v1.0 (legacyDTLS channel var is set) but endpoint requires DTLS v1.2.\n", rtp_type(rtp_session), ret);
+                       switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_WARNING, "%s Handshake failure %d. This may happen when you use legacy DTLS v1.0 (legacyDTLS channel var is set) but endpoint requires DTLS v1.2.\n", rtp_type(rtp_session), ret);
                        dtls_set_state(dtls, DS_FAIL);
                        return -1;
                }