mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-20 02:38:43 +00:00
Don't issue a warning if isdncontroller is set to -1
This commit is contained in:
parent
48cb400fb1
commit
11d402ab1d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68061
@ -31,7 +31,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
* last edit-date: [Fri Oct 6 10:08:09 2000]
|
||||
* last edit-date: [Tue Oct 31 10:57:07 2000]
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -1229,7 +1229,7 @@ check_config(void)
|
||||
{
|
||||
/* isdn controller number */
|
||||
|
||||
if((cep->isdncontroller < 0) || (cep->isdncontroller > (ncontroller-1)))
|
||||
if((cep->isdncontroller < -1) || (cep->isdncontroller > (ncontroller-1)))
|
||||
{
|
||||
log(LL_ERR, "check_config: WARNING, isdncontroller out of range in entry %d!", i);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user