Added check for definition mismatch when ASN type is SET OF, but the definition indicates a primitive type.
git-svn-id: http://voip.null.ro/svn/yate@5345 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
815a18b407
commit
68100d56d8
|
@ -655,7 +655,8 @@ static bool encodeParam(const Parameter* param, DataBlock& data, XmlElement* ele
|
|||
else {
|
||||
if (param->tag.type() == AsnTag::Constructor &&
|
||||
!(param->type == TcapXApplication::HexString || param->type == TcapXApplication::SequenceOf
|
||||
|| param->type == TcapXApplication::Sequence || param->type == TcapXApplication::Choice))
|
||||
|| param->type == TcapXApplication::Sequence || param->type == TcapXApplication::Choice
|
||||
|| param->type == TcapXApplication::SetOf))
|
||||
Debug(&__plugin,DebugGoOn,"Encoding definition conflict for param='%s', tag is defined as contructor"
|
||||
" while its type is primitive",param->name.c_str());
|
||||
ok = type->encode(param,type,data,child,err);
|
||||
|
|
Loading…
Reference in New Issue