From: Ted Lemon Date: Fri, 6 Jun 1997 01:55:15 +0000 (+0000) Subject: Parse client-hostname token X-Git-Tag: DHCP-970605~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=469e472a7ff6dad65472c3c5d7310f0a58daf3a6;p=thirdparty%2Fdhcp.git Parse client-hostname token --- diff --git a/common/conflex.c b/common/conflex.c index 3e43341ba..1ab552a28 100644 --- a/common/conflex.c +++ b/common/conflex.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: conflex.c,v 1.27 1997/06/02 22:30:52 mellon Exp $ Copyright (c) 1995, 1996, 1997 The Internet Software Consortium. All rights reserved.\n"; +"$Id: conflex.c,v 1.28 1997/06/06 01:55:15 mellon Exp $ Copyright (c) 1995, 1996, 1997 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -379,6 +379,8 @@ static int intern (atom, dfv) return CIADDR; if (!strcasecmp (atom + 1, "lient-identifier")) return CLIENT_IDENTIFIER; + if (!strcasecmp (atom + 1, "lient-hostname")) + return CLIENT_HOSTNAME; break; case 'd': if (!strcasecmp (atom + 1, "omain"))