]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Pass hostname to dns_host_entry_allocate.
authorTed Lemon <source@isc.org>
Fri, 6 Nov 1998 01:06:16 +0000 (01:06 +0000)
committerTed Lemon <source@isc.org>
Fri, 6 Nov 1998 01:06:16 +0000 (01:06 +0000)
common/tree.c

index aeb0fd5e5925a076e21013d6f1c61fae929b5314..4fa4239b143a19aeb0aac7c5129b5ecd055b6245 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 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 */
 
 #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 already exists, if possible, rather than creating
           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.");
                return 0;
        }