Use strncaseeq instead of strncasecmp
This commit is contained in:
@@ -75,7 +75,7 @@ METHOD(listener_t, ike_updown, bool,
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
if (strncasecmp(this->data, "0x", 2) == 0)
|
||||
if (strncaseeq(this->data, "0x", 2))
|
||||
{
|
||||
data = chunk_skip(chunk_create(this->data, strlen(this->data)), 2);
|
||||
data = chunk_from_hex(data, NULL);
|
||||
|
||||
Reference in New Issue
Block a user