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:
Michael Jerris 2007-06-13 02:46:39 +00:00
parent 0b24196b4b
commit 8474098118
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}