diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-05-25 22:08:26 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-05-25 22:08:26 +0000 |
commit | fbc9d5cd12dcc1ff564e70face6aff3cef21fbdc (patch) | |
tree | 5e04b4bb97753f6688d356d1587eb6e5509f451d /sys/netccitt/ccitt_proto.c | |
parent | 1d8271666d0bc69b7c8c1cfb481e5ed5e752b974 (diff) |
recover old acecept(2) behavior (no ECONNABORTED) for unix domain socket.
it is to be friendly with postfix daemon-to-daemon communication
(not 100% sure if which behavior is correct, specwise). patch similar to netbsd.
Diffstat (limited to 'sys/netccitt/ccitt_proto.c')
-rw-r--r-- | sys/netccitt/ccitt_proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netccitt/ccitt_proto.c b/sys/netccitt/ccitt_proto.c index 275a3ea3d0a..43a4937958e 100644 --- a/sys/netccitt/ccitt_proto.c +++ b/sys/netccitt/ccitt_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ccitt_proto.c,v 1.2 1996/03/04 07:36:20 niklas Exp $ */ +/* $OpenBSD: ccitt_proto.c,v 1.3 2001/05/25 22:08:23 itojun Exp $ */ /* $NetBSD: ccitt_proto.c,v 1.6 1996/02/13 22:04:21 christos Exp $ */ /* @@ -85,7 +85,7 @@ struct protosw ccittsw[] = { hd_init, 0, hd_timer, 0, }, #endif -{ SOCK_STREAM, DOMAIN, CCITTPROTO_X25, PR_CONNREQUIRED|PR_ATOMIC|PR_WANTRCVD, +{ SOCK_STREAM, DOMAIN, CCITTPROTO_X25, PR_CONNREQUIRED|PR_ATOMIC|PR_WANTRCVD|PR_ABRTACPTDIS, pk_input, 0, pk_ctlinput, pk_ctloutput, pk_usrreq, pk_init, 0, pk_timer, 0, |