mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-04 00:05:30 +00:00
Use a different bit for hostname than for client-hostname
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: confpars.c,v 1.41 1997/05/09 08:21:25 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: confpars.c,v 1.42 1997/06/03 01:06:10 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"
|
||||||
@@ -1230,7 +1230,7 @@ struct lease *parse_lease_declaration (cfile)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case CLIENT_HOSTNAME:
|
case CLIENT_HOSTNAME:
|
||||||
seenbit = 512;
|
seenbit = 1024;
|
||||||
lease.client_hostname =
|
lease.client_hostname =
|
||||||
parse_host_name (cfile);
|
parse_host_name (cfile);
|
||||||
if (!lease.client_hostname) {
|
if (!lease.client_hostname) {
|
||||||
|
Reference in New Issue
Block a user