]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Call new ns_inaddr_lookup code for testing
authorTed Lemon <source@isc.org>
Fri, 9 May 1997 08:06:29 +0000 (08:06 +0000)
committerTed Lemon <source@isc.org>
Fri, 9 May 1997 08:06:29 +0000 (08:06 +0000)
common/memory.c

index 75a29bf8c6c8e7b3b4d39db1a60ba9fcbb1d15ff..035f7e7fa5e61458019054531abf0370088788d9 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: memory.c,v 1.31 1997/03/08 00:22:47 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: memory.c,v 1.32 1997/05/09 08:06:29 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -276,6 +276,7 @@ void new_address_range (low, high, subnet, dynamic)
                memcpy (&ia, address_range [i].ip_addr.iabuf, 4);
 
                if (subnet -> group -> get_lease_hostnames) {
+                       ns_inaddr_lookup (0, address_range [i].ip_addr);
                        h = gethostbyaddr ((char *)&ia, sizeof ia, AF_INET);
                        if (!h)
                                warn ("No hostname for %s", inet_ntoa (ia));