]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7466
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 30 Apr 2015 00:18:59 +0000 (19:18 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 30 Apr 2015 00:18:59 +0000 (19:18 -0500)
src/switch_rtp.c

index a3f2e2e95ccb9bd5262298edd1d4d8e3bfbba132..81f98585fccf94bb2b5732a1a785ae808064f685 100644 (file)
@@ -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;