From bd148ffb34729b302725b4def774a3f1ab6dd07e Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Fri, 9 May 1997 08:06:29 +0000 Subject: [PATCH] Call new ns_inaddr_lookup code for testing --- common/memory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/memory.c b/common/memory.c index 75a29bf8c..035f7e7fa 100644 --- a/common/memory.c +++ b/common/memory.c @@ -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)); -- 2.47.3