Fill in hints for picky getaddrinfo()s.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19010 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -493,7 +493,7 @@ add_locate(void *ctx, int type, struct sockaddr *addr)
|
|||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
memset(&hints, 0, sizeof(hints));
|
make_hints(&hints, krbhst_get_default_proto(kd));
|
||||||
ret = getaddrinfo(host, port, &hints, &ai);
|
ret = getaddrinfo(host, port, &hints, &ai);
|
||||||
if (ret)
|
if (ret)
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user