summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-08-21 22:45:56 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-08-21 22:45:56 +0000
commitf2f1a1357702fdad4d23bb795036421495e31e7b (patch)
treed94ad501cb672ab363fe81f73e87c620808f7de8 /sys/net/rtsock.c
parent910af8d7d1b297879157181092707924c3ffd342 (diff)
Move PRU_CONNECT request to (*pru_connect)() handler.
ok bluhm@
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index c82433e89a6..867cacbd73e 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsock.c,v 1.337 2022/08/21 17:30:21 mvs Exp $ */
+/* $OpenBSD: rtsock.c,v 1.338 2022/08/21 22:45:55 mvs Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
@@ -233,7 +233,6 @@ route_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
switch (req) {
/* no connect, bind, accept. Socket is connected from the start */
- case PRU_CONNECT:
case PRU_CONNECT2:
case PRU_ACCEPT:
error = EOPNOTSUPP;