Fixes https://github.com/heimdal/heimdal/issues/310, use PF_UNIX instead
of PF_LOCAL
This commit is contained in:

committed by
Nico Williams

parent
2548b3b8aa
commit
e7879208e4
@@ -1134,7 +1134,7 @@ start_kdc(krb5_context context,
|
|||||||
* on their end and be able to cleanly exit.
|
* on their end and be able to cleanly exit.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (socketpair(PF_LOCAL, SOCK_STREAM, 0, islive) == -1)
|
if (socketpair(PF_UNIX, SOCK_STREAM, 0, islive) == -1)
|
||||||
krb5_errx(context, 1, "socketpair");
|
krb5_errx(context, 1, "socketpair");
|
||||||
socket_set_nonblocking(islive[1], 1);
|
socket_set_nonblocking(islive[1], 1);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user