]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 24 Jun 2010 21:27:11 +0000 (16:27 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 24 Jun 2010 21:27:11 +0000 (16:27 -0500)
src/switch_rtp.c

index 648d6dd0a51f0a03a5d8da7b302281c85417ac0f..0d4420eabe93a6a0f32030dd101d159526ba6579 100644 (file)
@@ -1134,7 +1134,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_remote_address(switch_rtp_t *rtp_
                if (remote_rtcp_port) {
                        rtp_session->remote_rtcp_port = remote_rtcp_port;
                } else {
-                       rtp_session->remote_rtcp_port = rtp_session->remote_port + 1;
+                       rtp_session->remote_rtcp_port = rtp_session->eff_remote_port + 1;
                }
                status = enable_remote_rtcp_socket(rtp_session, err);
        }