OPENZAP-37 (fail if invalid dialect is defined.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@616 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
dd658a138c
commit
ff4858ec6b
|
@ -1746,7 +1746,7 @@ static ZIO_SIG_CONFIGURE_FUNCTION(zap_isdn_configure_span)
|
|||
}
|
||||
dialect = q931_str2Q931Dialect_type(val);
|
||||
if (dialect == Q931_Dialect_Count) {
|
||||
dialect = Q931_Dialect_National;
|
||||
return ZAP_FAIL;
|
||||
}
|
||||
} else if (!strcasecmp(var, "opts")) {
|
||||
opts = va_arg(ap, uint32_t);
|
||||
|
|
Loading…
Reference in New Issue