Accept SDP crypto with tag 0.

Fixes bug #367.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5880 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2014-07-25 13:28:05 +00:00
parent 5c8eb9a26c
commit cc2279cffa
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ bool SDPSession::dispatchRtp(SDPMedia* media, const char* addr, bool start,
const String* suite = m->getParam("ocrypto_suite");
const String* key = m->getParam("ocrypto_key");
const String* params = m->getParam("ocrypto_params");
if (suite && key && (tag > 0)) {
if (suite && key && (tag >= 0)) {
String sdes(tag);
sdes << " " << *suite << " " << *key;
if (params)