From: Anthony Minessale Date: Thu, 27 Aug 2015 18:55:41 +0000 (-0500) Subject: FS-8071 amendment X-Git-Tag: v1.6.2~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82fc6075cc74cda99a716ec583aeca7f5d2af394;p=thirdparty%2Ffreeswitch.git FS-8071 amendment --- 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) {