From f584d301c0cfbb9ae9510b36e1500958f11adc24 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Fri, 10 Apr 2009 21:13:16 +0000 Subject: [PATCH] ozmod_libpri: str2switch() Also accept 5ess for lucent5e git-svn-id: http://svn.openzap.org/svn/openzap/trunk@713 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c b/libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c index 216782c7c5..e20dceb84d 100644 --- a/libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c +++ b/libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c @@ -905,7 +905,7 @@ static int str2switch(char *swtype) return PRI_SWITCH_NI2; if (!strcasecmp(swtype, "dms100")) return PRI_SWITCH_DMS100; - if (!strcasecmp(swtype, "lucent5e")) + if (!strcasecmp(swtype, "lucent5e") || !strcasecmp(swtype, "5ess")) return PRI_SWITCH_LUCENT5E; if (!strcasecmp(swtype, "att4ess")) return PRI_SWITCH_ATT4ESS;