aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/net/getnetnamadr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/getnetnamadr.c')
-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)