From 82fc6075cc74cda99a716ec583aeca7f5d2af394 Mon Sep 17 00:00:00 2001 From: Anthony Minessale <anthm@freeswitch.org> Date: Thu, 27 Aug 2015 13:55:41 -0500 Subject: [PATCH] FS-8071 amendment --- src/switch_rtp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 008f36b599..0dbc9faff2 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1182,6 +1182,7 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d if (cmp) { ice->last_ok = now; + rtp_session->wrong_addrs = 0; } else { if ((rtp_session->dtls->state != DS_READY || !ice->ready || !ice->rready)) { if (elapsed > 500 || rtp_session->wrong_addrs > 1) {