summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-04-05 05:49:33 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-04-05 05:49:33 +0000
commit1066cd87b8399d13c0affbc15547a41c6be8fb14 (patch)
tree3093c52c8670bb7a8d4bf81d7d0beb0555c926f1
parenteb490254fb3436ae88acc2858e4214da2eb7301a (diff)
pay attention to first num in span= line (bug #3943)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/v1-0@619 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xChangeLog1
-rwxr-xr-xztcfg.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d4b8276..33d74cc 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
-- added some use counts to prevent kernel panics when improperly unloading modules
-- fixed a problem in the Makefile that would cause problems if the system did not
have 'chkconfig'
+ -- fixed a problem with ztcfg ignoring the first number in the span= line
zaptel 1.0.7
-- Makefile
-- An alias has been added so that you can load wcfxs with 'modprobe wctdm'.
diff --git a/ztcfg.c b/ztcfg.c
index b85cd56..f2813aa 100755
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -267,7 +267,7 @@ int spanconfig(char *keyword, char *args)
return -1;
}
}
- lc[spans].span = spans + 1;
+ lc[spans].span = span;
lc[spans].sync = timing;
/* Valid span */
spans++;