]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
ignore a= lines when m= port is 0
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 19 Sep 2013 18:44:20 +0000 (13:44 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 19 Sep 2013 18:44:20 +0000 (13:44 -0500)
libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/sdp/sdp_parse.c

index 874992669be80a712f8cf88073f8349800f0457c..08dde90dbd62b0b0c8b4b7fffd6e9a63bfaa1495 100644 (file)
@@ -1 +1 @@
-Wed Sep 18 05:12:10 CDT 2013
+Thu Sep 19 13:44:16 CDT 2013
index 4c48dfc1332907c2bed4b501d5ecc70e112b241f..7877100978e5cc626bc6cf4efdd831505c65fd7b 100644 (file)
@@ -1589,7 +1589,7 @@ static void parse_media_attr(sdp_parser_t *p, char *r, sdp_media_t *m,
 
   if (p->pr_mode_manual)
     ;
-  else if (su_casematch(name, "inactive")) {
+  else if (m->m_port == 0 || su_casematch(name, "inactive")) {
     m->m_mode = sdp_inactive;
     return;
   }