fix CRV parser right this time
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@250 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
0b24196b4b
commit
8474098118
|
@ -1312,7 +1312,7 @@ L3USHORT Q931Uie_CRV(Q931_TrunkInfo_t *pTrunk, L3UCHAR *IBuf, L3UCHAR *OBuf, L3I
|
|||
}
|
||||
else if(l==2) /* two octet CRV */
|
||||
{
|
||||
CRV = (IBuf[Octet] << 8) & 0x7F;
|
||||
CRV = (IBuf[Octet] & 0x7f) << 8;
|
||||
CRV = CRV + IBuf[Octet+1];
|
||||
Octet += 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue