mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 22:35:25 +00:00
Pass hostname to dns_host_entry_allocate.
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: tree.c,v 1.14 1998/11/06 00:13:36 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: tree.c,v 1.15 1998/11/06 01:06:16 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -122,7 +122,7 @@ int enter_dns_host (dh, name)
|
|||||||
XXX and just add a new reference to a hostname that
|
XXX and just add a new reference to a hostname that
|
||||||
XXX already exists, if possible, rather than creating
|
XXX already exists, if possible, rather than creating
|
||||||
XXX a new structure. */
|
XXX a new structure. */
|
||||||
if (!dns_host_entry_allocate (dh, name)) {
|
if (!dns_host_entry_allocate (dh, name, "enter_dns_host")) {
|
||||||
warn ("Can't allocate space for new host.");
|
warn ("Can't allocate space for new host.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user