Commit 70db22e9 authored by Bob Halley's avatar Bob Halley
Browse files

comparisions should be case-insensitive

parent 8507d64d
......@@ -1061,7 +1061,7 @@ static int
cmp_label(dns_label_t *a, dns_label_t *b) {
int i;
i = strncmp(a->base, b->base, MIN(a->length, b->length));
i = strncasecmp(a->base, b->base, MIN(a->length, b->length));
if (i == 0 && a->length != b->length)
return(a->length < b->length ? -1 : 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment