]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7602 regression from c9065a85b6ac92ef3318df2abe30395df1f3c99f (typo)
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 9 Jun 2015 20:58:46 +0000 (15:58 -0500)
committerBrian <brian@freeswitch.org>
Tue, 9 Jun 2015 20:58:46 +0000 (15:58 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 52b8b5256f9a27b02c6f7549044b16fe23595035..c215f56c764db0d65e415f55643f4ce5255b60d4 100644 (file)
@@ -101,8 +101,8 @@ void sofia_glue_attach_private(switch_core_session_t *session, sofia_profile_t *
                }
        }
 
-       if (!zstr(profile->rtpip[profile->rtpip_next6])) {
-               tech_pvt->mparams.rtpip6 = switch_core_session_strdup(session, profile->rtpip[profile->rtpip_next6++]);
+       if (!zstr(profile->rtpip6[profile->rtpip_next6])) {
+               tech_pvt->mparams.rtpip6 = switch_core_session_strdup(session, profile->rtpip6[profile->rtpip_next6++]);
 
                if (zstr(tech_pvt->mparams.rtpip)) {
                        tech_pvt->mparams.rtpip = tech_pvt->mparams.rtpip6;