diff --git a/linphone/mediastreamer2/src/ice.c b/linphone/mediastreamer2/src/ice.c index 88bde436c..5246c7f86 100644 --- a/linphone/mediastreamer2/src/ice.c +++ b/linphone/mediastreamer2/src/ice.c @@ -244,6 +244,7 @@ _ice_createErrorResponse(StunMessage *response, int cl, int number, const char* response->errorCode.errorClass = cl; response->errorCode.number = number; strcpy(response->errorCode.reason, msg); + response->errorCode.sizeReason = strlen(msg); } int ice_process_stun_message(RtpSession *session, struct CandidatePair *remote_candidates, OrtpEvent *evt)