diff options
| author | Attilio Rao <attilio@FreeBSD.org> | 2010-09-24 15:01:45 +0000 |
|---|---|---|
| committer | Attilio Rao <attilio@FreeBSD.org> | 2010-09-24 15:01:45 +0000 |
| commit | 109c1de8bad542e1ce21e866a36b2b86dbe8d49d (patch) | |
| tree | 761e44816c0dd4bf028f704e2614b143338f000d /sys/nlm | |
| parent | 451108822128a4d41c03ae6d5b796a5cc6aeb7e0 (diff) | |
Notes
Diffstat (limited to 'sys/nlm')
| -rw-r--r-- | sys/nlm/nlm_prot_impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nlm/nlm_prot_impl.c b/sys/nlm/nlm_prot_impl.c index f6b296d6f3c9..5f7f8e17daa0 100644 --- a/sys/nlm/nlm_prot_impl.c +++ b/sys/nlm/nlm_prot_impl.c @@ -1055,13 +1055,13 @@ nlm_find_host_by_addr(const struct sockaddr *addr, int vers) switch (addr->sa_family) { case AF_INET: - __rpc_inet_ntop(AF_INET, + inet_ntop(AF_INET, &((const struct sockaddr_in *) addr)->sin_addr, tmp, sizeof tmp); break; #ifdef INET6 case AF_INET6: - __rpc_inet_ntop(AF_INET6, + inet_ntop(AF_INET6, &((const struct sockaddr_in6 *) addr)->sin6_addr, tmp, sizeof tmp); break; |
