doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@442 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
6223a95b0a
commit
f1ced4783f
|
@ -211,7 +211,9 @@ ie Q931AppendIE( L3UCHAR *pm, L3UCHAR *pi)
|
||||||
L3INT Q931GetUniqueCRV(Q931_TrunkInfo_t *pTrunk)
|
L3INT Q931GetUniqueCRV(Q931_TrunkInfo_t *pTrunk)
|
||||||
{
|
{
|
||||||
static L3INT crv={1};
|
static L3INT crv={1};
|
||||||
return crv++;
|
crv++;
|
||||||
|
if (crv > 32766) crv = 1;
|
||||||
|
return crv;
|
||||||
}
|
}
|
||||||
|
|
||||||
L3INT Q931InitMesGeneric(Q931mes_Generic *pMes)
|
L3INT Q931InitMesGeneric(Q931mes_Generic *pMes)
|
||||||
|
|
Loading…
Reference in New Issue