Parser for dhclient config and lease files... */
/*
- * Copyright (c) 1997 The Internet Software Consortium.
+ * Copyright (c) 1997, 1998 The Internet Software Consortium.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#ifndef lint
static char copyright[] =
-"$Id: clparse.c,v 1.13 1997/10/27 20:13:21 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
+"$Id: clparse.c,v 1.14 1998/03/16 06:02:14 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
/* Look up the option name hash table for the specified
vendor. */
- universe = (struct universe *)hash_lookup (&universe_hash,
- vendor, 0);
+ universe = ((struct universe *)
+ hash_lookup (&universe_hash,
+ (unsigned char *)vendor, 0));
/* If it's not there, we can't parse the rest of the
declaration. */
if (!universe) {
}
/* Look up the actual option info... */
- option = (struct option *)hash_lookup (universe -> hash, val, 0);
+ option = (struct option *)hash_lookup (universe -> hash,
+ (unsigned char *)val, 0);
/* If we didn't get an option structure, it's an undefined option. */
if (!option) {