From: Anthony Minessale Date: Thu, 30 Apr 2015 00:18:59 +0000 (-0500) Subject: FS-7466 X-Git-Tag: v1.4.19~6^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c143ef1b3d6aa7be62339fb44d427375d4ed6146;p=thirdparty%2Ffreeswitch.git FS-7466 --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index a3f2e2e95c..81f98585fc 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -5876,10 +5876,10 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ } } } else { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_DEBUG, "Correct ip/port confirmed.\n"); if ((rtp_session->rtp_bugs & RTP_BUG_ALWAYS_AUTO_ADJUST)) { switch_rtp_set_flag(rtp_session, SWITCH_RTP_FLAG_AUTOADJ); } else { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_DEBUG, "Correct ip/port confirmed.\n"); switch_rtp_clear_flag(rtp_session, SWITCH_RTP_FLAG_AUTOADJ); } rtp_session->auto_adj_used = 0;