aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-10-10 12:49:53 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-10-10 12:49:53 +0000
commit943873e722f9eac6bcf5ca0e0535f20e92593872 (patch)
treecb232e05b3fc7c5c296158f2812cd6d2379e6b78
parentd9ed7b41fec28e44da08e5e52410ef5d72fbb9a3 (diff)
downloadsrc-943873e722f9eac6bcf5ca0e0535f20e92593872.tar.gz
src-943873e722f9eac6bcf5ca0e0535f20e92593872.zip
getnetbyaddr() should be serviced by the "networks" database.
Notes
Notes: svn path=/head/; revision=84760
-rw-r--r--lib/libc/net/getnetnamadr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/getnetnamadr.c b/lib/libc/net/getnetnamadr.c
index 2c5c9185bb90..815285adba85 100644
--- a/lib/libc/net/getnetnamadr.c
+++ b/lib/libc/net/getnetnamadr.c
@@ -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)