]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Use a different bit for hostname than for client-hostname
authorTed Lemon <source@isc.org>
Tue, 3 Jun 1997 01:06:10 +0000 (01:06 +0000)
committerTed Lemon <source@isc.org>
Tue, 3 Jun 1997 01:06:10 +0000 (01:06 +0000)
server/confpars.c

index 08ab80daceb1e7660cf27f4224e0650c9a0b0f4d..d192fa1f7f856b4e1ee03a58f24ed3a28c6993bf 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 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 */
 
 #include "dhcpd.h"
@@ -1230,7 +1230,7 @@ struct lease *parse_lease_declaration (cfile)
                                break;
 
                              case CLIENT_HOSTNAME:
-                               seenbit = 512;
+                               seenbit = 1024;
                                lease.client_hostname =
                                        parse_host_name (cfile);
                                if (!lease.client_hostname) {