Comment changes.
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@782 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
@@ -79,13 +79,13 @@ typedef struct q931_h {
|
||||
u_int8_t pd; /* Protocol Discriminator */
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
u_int8_t x0:4;
|
||||
u_int8_t crlen:4;
|
||||
u_int8_t crlen:4;/*!< Call reference length */
|
||||
#else
|
||||
u_int8_t crlen:4;
|
||||
u_int8_t crlen:4;/*!< Call reference length */
|
||||
u_int8_t x0:4;
|
||||
#endif
|
||||
u_int8_t contents[0];
|
||||
u_int8_t crv[3];
|
||||
u_int8_t crv[3];/*!< Call reference value */
|
||||
} __attribute__ ((packed)) q931_h;
|
||||
|
||||
|
||||
|
||||
3
q921.c
3
q921.c
@@ -821,7 +821,7 @@ pri_event *q921_dchannel_down(struct pri *pri)
|
||||
/* Notify Layer 3 */
|
||||
q931_dl_indication(pri, PRI_EVENT_DCHAN_DOWN);
|
||||
|
||||
/* Report event that D-Channel is now up */
|
||||
/* Report event that D-Channel is now down */
|
||||
pri->ev.gen.e = PRI_EVENT_DCHAN_DOWN;
|
||||
return &pri->ev;
|
||||
}
|
||||
@@ -894,6 +894,7 @@ static pri_event *q921_receive_MDL(struct pri *pri, q921_u *h, int len)
|
||||
/* Go to master */
|
||||
for (sub = pri; sub->master; sub = sub->master);
|
||||
tei = 64;
|
||||
/*! \todo XXX Error: The following loop never terminates! */
|
||||
while(sub->subchannel) {
|
||||
if(sub->subchannel->tei == tei)
|
||||
++tei;
|
||||
|
||||
Reference in New Issue
Block a user