diff options
author | martinp <martinp@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-05-16 20:06:58 +0000 |
---|---|---|
committer | martinp <martinp@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-05-16 20:06:58 +0000 |
commit | 2ee42de93a849d7daaf60c99fa13398f83d51a3d (patch) | |
tree | b9241a28d00fff13e5c0de9484e44abb4b022834 /ztcfg.c | |
parent | 9839e7ad59c8d2f759882d94f681480179c657e5 (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-x | ztcfg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |