From 2ee42de93a849d7daaf60c99fa13398f83d51a3d Mon Sep 17 00:00:00 2001 From: martinp Date: Fri, 16 May 2003 20:06:58 +0000 Subject: Allow the use of yellow after crc4 git-svn-id: http://svn.digium.com/svn/zaptel/trunk@183 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- ztcfg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ztcfg.c') 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 ,,,,[,yellow])\n"); + argc = res = parseargs(args, realargs, 7, ','); + if ((res < 5) || (res > 7)) { + error("Incorrect number of arguments to 'span' (should be ,,,,[, crc4 | yellow [, yellow]])\n"); } res = sscanf(realargs[0], "%i", &span); if (res != 1) { -- cgit v1.2.3