diff options
author | Ted Lemon <source@isc.org> | 1997-10-29 18:32:53 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1997-10-29 18:32:53 +0000 |
commit | 7e0f16d0a87f6d44aa3ac374b97d762a87196c5a (patch) | |
tree | 849c21181f18d9cfe639eccebeff60bde76d8033 /common | |
parent | 56a899315a3d682f4a6cb0ac51d32d08597f1a73 (diff) | |
download | isc-dhcp-7e0f16d0a87f6d44aa3ac374b97d762a87196c5a.tar.gz |
Support hostname keyword
Diffstat (limited to 'common')
-rw-r--r-- | common/conflex.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/conflex.c b/common/conflex.c index 1ab552a2..eedfa054 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")) |