Skip to content

Commit

Permalink
sdp: inherit stream's family from session
Browse files Browse the repository at this point in the history
Fixes coverity CID 150496
  • Loading branch information
razvancrainea committed Oct 24, 2016
1 parent 330c80a commit a32c03f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parser/sdp/sdp.c
Expand Up @@ -429,6 +429,8 @@ int parse_sdp_session(str *sdp_body, int session_num, str *cnt_disp, sdp_info_t*
LM_ERR("can't find media IP in the message\n");
return -1;
}
/* take the family from the more specific line */
pf = session->pf;
}

/* Extract the port on sdp_port */
Expand Down

0 comments on commit a32c03f

Please sign in to comment.