#ifndef lint
static char copyright[] =
-"$Id: clparse.c,v 1.60 2001/04/05 20:37:55 mellon Exp $ Copyright (c) 1996-2001 The Internet Software Consortium. All rights reserved.\n";
+"$Id: clparse.c,v 1.61 2001/05/02 06:27:11 mellon Exp $ Copyright (c) 1996-2001 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
if ((file = open (path_dhclient_conf, O_RDONLY)) >= 0) {
cfile = (struct parse *)0;
- new_parse (&cfile, file, (char *)0, 0, path_dhclient_conf);
+ new_parse (&cfile, file, (char *)0, 0, path_dhclient_conf, 1);
do {
token = peek_token (&val, (unsigned *)0, cfile);
parse = (struct parse *)0;
status = new_parse (&parse, -1, default_client_config,
(sizeof default_client_config) - 1,
- "default client configuration");
+ "default client configuration", 1);
if (status != ISC_R_SUCCESS)
log_fatal ("can't begin default client config!");
if ((file = open (path_dhclient_db, O_RDONLY)) < 0)
return;
cfile = (struct parse *)0;
- new_parse (&cfile, file, (char *)0, 0, path_dhclient_db);
+ new_parse (&cfile, file, (char *)0, 0, path_dhclient_db, 1);
do {
token = next_token (&val, (unsigned *)0, cfile);
#ifndef lint
static char copyright[] =
-"$Id: comapi.c,v 1.8 2001/02/26 22:21:06 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: comapi.c,v 1.9 2001/05/02 06:27:52 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
status = new_parse (&parse, -1,
(char *)value -> u.buffer.value,
value -> u.buffer.len,
- "network client");
+ "network client", 0);
if (status != ISC_R_SUCCESS)
return status;
if (!(parse_executable_statements