From 2e47abc9e69ce24f5f455fc1a5d66b6ab9332dda Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 9 Jun 2015 15:58:46 -0500 Subject: [PATCH] FS-7602 regression from c9065a85b6ac92ef3318df2abe30395df1f3c99f (typo) --- src/mod/endpoints/mod_sofia/sofia_glue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 52b8b5256f..c215f56c76 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -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;