git-svn-id: http://svn.openzap.org/svn/openzap/trunk@443 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2008-04-04 20:43:48 +00:00
parent f8b58eae7c
commit e97f258474
1 changed files with 2 additions and 1 deletions

View File

@ -208,9 +208,10 @@ ie Q931AppendIE( L3UCHAR *pm, L3UCHAR *pi)
/*****************************************************************************
*****************************************************************************/
static L3INT crv={1};
L3INT Q931GetUniqueCRV(Q931_TrunkInfo_t *pTrunk)
{
static L3INT crv={1};
crv++;
if (crv > 32766) crv = 1;
return crv;