From 1066cd87b8399d13c0affbc15547a41c6be8fb14 Mon Sep 17 00:00:00 2001 From: russell Date: Tue, 5 Apr 2005 05:49:33 +0000 Subject: 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 --- ChangeLog | 1 + ztcfg.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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++; -- cgit v1.2.3