ozmod_libpri: str2switch() Also accept 4ess for att4ess

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@714 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Mathieu Rene 2009-04-10 21:14:01 +00:00
parent c0f359bb4f
commit 1cc7635cd0

View File

@ -907,7 +907,7 @@ static int str2switch(char *swtype)
return PRI_SWITCH_DMS100;
if (!strcasecmp(swtype, "lucent5e") || !strcasecmp(swtype, "5ess"))
return PRI_SWITCH_LUCENT5E;
if (!strcasecmp(swtype, "att4ess"))
if (!strcasecmp(swtype, "att4ess") || !strcasecmp(swtype, "4ess"))
return PRI_SWITCH_ATT4ESS;
if (!strcasecmp(swtype, "euroisdn"))
return PRI_SWITCH_EUROISDN_E1;