Fixed Restart IE encoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1854 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
9449543500
commit
f960ce3b44
|
@ -5678,7 +5678,7 @@ bool Q931Parser::encodeSignal(ISDNQ931IE* ie, DataBlock& buffer)
|
|||
bool Q931Parser::encodeRestart(ISDNQ931IE* ie, DataBlock& buffer)
|
||||
{
|
||||
u_int8_t data[3] = {(u_int8_t)ie->type(),1,0x80};
|
||||
data[2] = s_ie_ieRestart[0].getValue(ie,true,0xff);
|
||||
data[2] |= s_ie_ieRestart[0].getValue(ie,true,0xff);
|
||||
buffer.assign(data,sizeof(data));
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue