summaryrefslogtreecommitdiff
path: root/ztcfg.c
diff options
context:
space:
mode:
authormartinp <martinp@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-05-16 20:06:58 +0000
committermartinp <martinp@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-05-16 20:06:58 +0000
commit2ee42de93a849d7daaf60c99fa13398f83d51a3d (patch)
treeb9241a28d00fff13e5c0de9484e44abb4b022834 /ztcfg.c
parent9839e7ad59c8d2f759882d94f681480179c657e5 (diff)
Allow the use of yellow after crc4
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@183 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'ztcfg.c')
-rwxr-xr-xztcfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ztcfg.c b/ztcfg.c
index 9c5958f..41f890a 100755
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -195,9 +195,9 @@ int spanconfig(char *keyword, char *args)
int argc;
int span;
int timing;
- argc = res = parseargs(args, realargs, 6, ',');
- if ((res < 5) || (res > 6)) {
- error("Incorrect number of arguments to 'span' (should be <spanno>,<timing>,<lbo>,<framing>,<coding>[,yellow])\n");
+ argc = res = parseargs(args, realargs, 7, ',');
+ if ((res < 5) || (res > 7)) {
+ error("Incorrect number of arguments to 'span' (should be <spanno>,<timing>,<lbo>,<framing>,<coding>[, crc4 | yellow [, yellow]])\n");
}
res = sscanf(realargs[0], "%i", &span);
if (res != 1) {