+2002-12-06 Tom Yu <tlyu@mit.edu>
+
+ * sendmsg.c (krb524_sendto_kdc): Update calls to locate_server()
+ and locate_kdc() to restrict protocol family to IPv4.
+
2002-09-24 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (EXTRADEPSRCS): New variable.
retval = internals.krb5_locate_server(context, realm, &al, 0,
"krb524_server", "_krb524",
- SOCK_DGRAM, port, 0);
+ SOCK_DGRAM, port,
+ 0, PF_INET);
if (retval == KRB5_REALM_CANT_RESOLVE || retval == KRB5_REALM_UNKNOWN) {
/* Fallback heuristic: Assume krb524 port on every KDC might
work. */
- retval = internals.krb5_locate_kdc(context, realm, &al, 0, SOCK_DGRAM);
+ retval = internals.krb5_locate_kdc(context, realm, &al, 0,
+ SOCK_DGRAM, PF_INET);
/*
* Bash the ports numbers.
*/