fixed matches() check for RFC822/FQDN without wildcards

This commit is contained in:
Martin Willi
2008-06-13 15:10:01 +00:00
parent 1726ca1027
commit eab63e8476
+2 -2
View File
@@ -814,8 +814,8 @@ static id_match_t matches_string(private_identification_t *this,
{
return ID_MATCH_NONE;
}
/* try a binary comparison first */
if (equals_binary(this, other))
/* try a equals check first */
if (equals_strcasecmp(this, other))
{
return ID_MATCH_PERFECT;
}