aboutsummaryrefslogtreecommitdiffstats
path: root/checkalias.c
diff options
context:
space:
mode:
Diffstat (limited to 'checkalias.c')
-rw-r--r--checkalias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkalias.c b/checkalias.c
index 7b377eb2..a16e04ca 100644
--- a/checkalias.c
+++ b/checkalias.c
@@ -136,7 +136,7 @@ int is_host_alias(const char *name, struct query *ctl)
* ep[-1] is a valid reference.
*/
if (strlen(idl->id) <= namelen)
- break;
+ continue;
ep = idl->id + (strlen(idl->id) - namelen);
/* a suffix led by . must match */
if (ep[-1] == '.' && !strcmp(ep, name))