aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--checkalias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkalias.c b/checkalias.c
index 90a7ffd5..8525d24a 100644
--- a/checkalias.c
+++ b/checkalias.c
@@ -143,7 +143,7 @@ int is_host_alias(const char *name, struct query *ctl)
continue;
ep = (char *)name + (namelen - strlen(idl->id));
/* a suffix led by . must match */
- if (ep[-1] == '.' && !strcmp(ep, idl->id))
+ if (ep[-1] == '.' && !strcasecmp(ep, idl->id))
return(TRUE);
}