From: Ted Lemon Date: Tue, 10 Jun 1997 06:00:23 +0000 (+0000) Subject: parse_string eats the semicolon X-Git-Tag: DHCP-970609 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffba70525e83bcaa36d80c9f77c7b48248923527;p=thirdparty%2Fdhcp.git parse_string eats the semicolon --- diff --git a/server/confpars.c b/server/confpars.c index 9ee5ec106..b863e5cf4 100644 --- a/server/confpars.c +++ b/server/confpars.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: confpars.c,v 1.43 1997/06/10 05:49:14 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: confpars.c,v 1.44 1997/06/10 06:00:23 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1238,7 +1238,6 @@ struct lease *parse_lease_declaration (cfile) else lease.client_hostname = parse_host_name (cfile); - token = CLIENT_HOSTNAME; break; default: @@ -1247,7 +1246,7 @@ struct lease *parse_lease_declaration (cfile) return (struct lease *)0; } - if (token != HARDWARE) { + if (token != HARDWARE && token != STRING) { token = next_token (&val, cfile); if (token != SEMI) { parse_warn ("semicolon expected.");