mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 11:02:53 +00:00
FS-10267: [freeswitch-core] zrtp_enrollment broken since 1.6.13 #resolve
This commit is contained in:
parent
c4aa3c0eb4
commit
5fb6632c0d
@ -5584,6 +5584,11 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t
|
||||
switch_mutex_lock(rtp_session->flag_mutex);
|
||||
for (pmap = *rtp_session->pmaps; pmap && pmap->allocated; pmap = pmap->next) {
|
||||
|
||||
if (ntohl(*(int *)(b+4)) == ZRTP_MAGIC_COOKIE) {
|
||||
accept_packet = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!pmap->negotiated) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user