mgw: Don't be case-sensitive when parsing X-Osmo-IGN param

Some implementations like our TTCN3 encoder set all param characters in
caps.

Related: SYS#5063
Change-Id: Ie4bc5e86551c55021ca6ca2fbc6fc56a26f5fb16
This commit is contained in:
Pau Espin 2020-09-21 11:03:21 +02:00
parent 3ef8e76534
commit 6049a63d1d
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ static bool parse_x_osmo_ign(struct mgcp_endpoint *endp, char *line)
{
char *saveptr = NULL;
if (strncmp(line, MGCP_X_OSMO_IGN_HEADER, strlen(MGCP_X_OSMO_IGN_HEADER)))
if (strncasecmp(line, MGCP_X_OSMO_IGN_HEADER, strlen(MGCP_X_OSMO_IGN_HEADER)))
return false;
line += strlen(MGCP_X_OSMO_IGN_HEADER);