#ifndef lint
static char copyright[] =
-"$Id: confpars.c,v 1.165 2007/05/19 18:47:15 dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
+"$Id: confpars.c,v 1.166 2007/05/30 10:10:12 shane Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
int known;
struct option *option;
struct expression *expr;
- char *tmp_format;
+ const char *tmp_format;
name = parse_host_name (cfile);
if (!name) {
* as it does not handle things like arrays and
* such.
*/
- if (!parse_option_token(&expr, cfile, (const char **)
- &tmp_format, NULL, 1, 1)) {
+ if (!parse_option_token(&expr, cfile, &tmp_format,
+ NULL, 1, 1)) {
skip_to_rbrace(cfile, 1);
option_dereference(&option, MDL);
break;