summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-14 16:03:18 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-14 16:03:18 +0000
commitf00ee57d3cf8749f186ebe4434480a3a05239a40 (patch)
tree69df4e4e16d08dd27c2304339b960e4abcd800d7 /wct4xxp
parentbae16d855660811f218783f9130c1a7d300571f9 (diff)
Fix bug in J1 mode configuration.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2307 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 98f068c..5f3e89a 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -858,7 +858,7 @@ static void __set_clear(struct t4 *wc, int span)
struct t4_span *ts = wc->tspans[span];
oldnotclear = ts->notclear;
- if (ts->spantype == TYPE_T1) {
+ if ((ts->spantype == TYPE_T1) || (ts->spantype == TYPE_J1)) {
for (i=0;i<24;i++) {
j = (i/8);
if (ts->span.chans[i].flags & ZT_FLAG_CLEAR) {