Thu Feb 26 09:15:52 CST 2009 Pekka Pessi <first.last@nokia.com>

* soa.c: fix address matching with user sdp w/out session c= line
  Ignore-this: 9aa560f8abd799d46e38c2e4ee0ca23c



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12302 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-02-26 18:31:50 +00:00
parent ea63ec17a1
commit 6f9fb28bc9
2 changed files with 5 additions and 7 deletions

View File

@ -1 +1 @@
Thu Feb 26 12:23:25 CST 2009
Thu Feb 26 12:31:34 CST 2009

View File

@ -2454,12 +2454,10 @@ soa_init_sdp_connection_with_session(soa_session_t *ss,
if (m->m_rejected)
continue;
if (sdp && sdp->sdp_connection && sdp->sdp_connection->c_address) {
for (mc = m->m_connections; mc; mc = mc->c_next) {
for (li = res; li; li = li->li_next) {
if (!li->li_canonname || !su_casematch(li->li_canonname, sdp->sdp_connection->c_address)) {
continue;
}
for (mc = m->m_connections; mc; mc = mc->c_next) {
for (li = res; li; li = li->li_next) {
if (!su_casematch(li->li_canonname, mc->c_address))
continue;
#if HAVE_SIN6
if (li->li_family == AF_INET6) {
if (ip6 > ip4)