getnetbyaddr() should be serviced by the "networks" database.

This commit is contained in:
Ruslan Ermilov 2001-10-10 12:49:53 +00:00
parent d9ed7b41fe
commit 943873e722
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84760

View File

@ -88,7 +88,7 @@ getnetbyaddr(u_long addr, int af)
{ 0 }
};
rval = nsdispatch((void *)&hp, dtab, NSDB_HOSTS, "getnetbyaddr",
rval = nsdispatch((void *)&hp, dtab, NSDB_NETWORKS, "getnetbyaddr",
default_src, addr, af);
if (rval != NS_SUCCESS)