diff options
-rw-r--r-- | common/conflex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/conflex.c b/common/conflex.c index d17b3040..2ce94840 100644 --- a/common/conflex.c +++ b/common/conflex.c @@ -811,7 +811,7 @@ intern(char *atom, enum dhcp_token dfv) { if (!strncasecmp(atom + 2, "ient", 4)) { if (!strcasecmp(atom + 6, "s")) return CLIENTS; - if (atom[7] == '-') { + if (atom[6] == '-') { if (!strcasecmp(atom + 7, "hostname")) return CLIENT_HOSTNAME; if (!strcasecmp(atom + 7, "identifier")) |