]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Parse client-hostname token
authorTed Lemon <source@isc.org>
Fri, 6 Jun 1997 01:55:15 +0000 (01:55 +0000)
committerTed Lemon <source@isc.org>
Fri, 6 Jun 1997 01:55:15 +0000 (01:55 +0000)
common/conflex.c

index 3e43341ba6582dfe0581b59ee60187dfa08e147a..1ab552a2861c93af69528e79b99c4f9336ecafef 100644 (file)
@@ -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"))