Skip to content
Snippets Groups Projects
Commit 6a8c623e authored by Richard Mudgett's avatar Richard Mudgett
Browse files

Merged revisions 282671-282672 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r282671 | rmudgett | 2010-08-18 10:27:51 -0500 (Wed, 18 Aug 2010) | 1 line
  
  Use the correct operator when calculating the PRI span devstate.
........
  r282672 | rmudgett | 2010-08-18 10:28:27 -0500 (Wed, 18 Aug 2010) | 1 line
  
  Use the correct type for aoce_delayhangup bit field.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@282673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 70a7d40d
No related branches found
No related tags found
No related merge requests found
...@@ -3112,7 +3112,7 @@ static void dahdi_pri_update_span_devstate(struct sig_pri_span *pri) ...@@ -3112,7 +3112,7 @@ static void dahdi_pri_update_span_devstate(struct sig_pri_span *pri)
if (pri->pvts[idx]->owner if (pri->pvts[idx]->owner
#if defined(HAVE_PRI_SERVICE_MESSAGES) #if defined(HAVE_PRI_SERVICE_MESSAGES)
/* Out-of-service B channels are "in-use". */ /* Out-of-service B channels are "in-use". */
&& pri->pvts[idx]->service_status || pri->pvts[idx]->service_status
#endif /* defined(HAVE_PRI_SERVICE_MESSAGES) */ #endif /* defined(HAVE_PRI_SERVICE_MESSAGES) */
) { ) {
++in_use; ++in_use;
......
...@@ -295,8 +295,8 @@ struct sig_pri_span { ...@@ -295,8 +295,8 @@ struct sig_pri_span {
int fds[SIG_PRI_NUM_DCHANS]; /*!< FD's for d-channels */ int fds[SIG_PRI_NUM_DCHANS]; /*!< FD's for d-channels */
#if defined(HAVE_PRI_AOC_EVENTS) #if defined(HAVE_PRI_AOC_EVENTS)
int aoc_passthrough_flag; /*!< Represents what AOC messages (S,D,E) are allowed to pass-through */ int aoc_passthrough_flag; /*!< Represents what AOC messages (S,D,E) are allowed to pass-through */
int aoce_delayhangup:1; /*!< defines whether the aoce_delayhangup option is enabled or not */ unsigned int aoce_delayhangup:1; /*!< defines whether the aoce_delayhangup option is enabled or not */
#endif /* defined(HAVE_PRI_AOC_EVENTS) */ #endif /* defined(HAVE_PRI_AOC_EVENTS) */
#if defined(HAVE_PRI_SERVICE_MESSAGES) #if defined(HAVE_PRI_SERVICE_MESSAGES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment