From: Ted Lemon Date: Wed, 29 Oct 1997 18:32:53 +0000 (+0000) Subject: Support hostname keyword X-Git-Tag: DHCP-971122~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e0f16d0a87f6d44aa3ac374b97d762a87196c5a;p=thirdparty%2Fdhcp.git Support hostname keyword --- diff --git a/common/conflex.c b/common/conflex.c index 1ab552a28..eedfa054b 100644 --- a/common/conflex.c +++ b/common/conflex.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$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"; +"$Id: conflex.c,v 1.29 1997/10/29 18:32:53 mellon Exp $ Copyright (c) 1995, 1996, 1997 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -431,6 +431,8 @@ static int intern (atom, dfv) return HOST; if (!strcasecmp (atom + 1, "ardware")) return HARDWARE; + if (!strcasecmp (atom + 1, "ostname")) + return HOSTNAME; break; case 'i': if (!strcasecmp (atom + 1, "nitial-interval"))