summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-02 10:25:34 -0700
committerJeremy Allison <jra@samba.org>2007-11-02 10:25:34 -0700
commite075b3692bb2c9507231f0662010fc55c1b506c4 (patch)
treeece2f7f175588f838be4d403c461f7407fcf1bb4 /source3/utils
parent78cdd6e7eca44346377346fa6d84a9b59a8f5624 (diff)
downloadsamba-e075b3692bb2c9507231f0662010fc55c1b506c4.tar.gz
samba-e075b3692bb2c9507231f0662010fc55c1b506c4.tar.bz2
samba-e075b3692bb2c9507231f0662010fc55c1b506c4.zip
Fix Solaris by ensuring we use the IPv4 or IPv6 length
in any getnameinfo calls. Jeremy (This used to be commit 4d7badb0c44f287034f58d9a412e662c0fbecdc9)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c
index f7af1f2bb3..5e3551b781 100644
--- a/source3/utils/net_lookup.c
+++ b/source3/utils/net_lookup.c
@@ -131,7 +131,7 @@ static int net_lookup_ldap(int argc, const char **argv)
return -1;
}
- ret = getnameinfo((struct sockaddr *)&ss,
+ ret = sys_getnameinfo((struct sockaddr *)&ss,
sizeof(struct sockaddr_storage),
h_name, sizeof(h_name),
NULL, 0,