mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 13:28:14 +00:00
Casts for Solaris, from Brian Murrell.
This commit is contained in:
parent
8ac1b7ba2f
commit
32e4f77644
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: confpars.c,v 1.80 1999/09/15 19:47:38 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: confpars.c,v 1.81 1999/09/16 00:52:50 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@ -960,7 +960,7 @@ void parse_host_declaration (cfile, group)
|
|||||||
struct host_decl *hp =
|
struct host_decl *hp =
|
||||||
(struct host_decl *)
|
(struct host_decl *)
|
||||||
hash_lookup (host_name_hash,
|
hash_lookup (host_name_hash,
|
||||||
host -> name, strlen (host -> name));
|
(unsigned char *)host -> name, strlen (host -> name));
|
||||||
if (hp) {
|
if (hp) {
|
||||||
delete_host (hp, 0);
|
delete_host (hp, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user