summaryrefslogtreecommitdiff
path: root/sys/net/raw_usrreq.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-17 12:29:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-17 12:29:56 +0000
commitdc2662ad89d0e1f9103f5dc5c0e9ba7206ecf693 (patch)
tree16437e4d3fb44b6a5526f37836aeb66cc2328ae3 /sys/net/raw_usrreq.c
parent8886148aca4755ced98a2b4cb6a3feb488226ea4 (diff)
avoid panic; garath@code.ridgefield.org
Diffstat (limited to 'sys/net/raw_usrreq.c')
-rw-r--r--sys/net/raw_usrreq.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/raw_usrreq.c b/sys/net/raw_usrreq.c
index 596dfc99691..c949c83d24d 100644
--- a/sys/net/raw_usrreq.c
+++ b/sys/net/raw_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raw_usrreq.c,v 1.2 1996/03/03 21:07:18 niklas Exp $ */
+/* $OpenBSD: raw_usrreq.c,v 1.3 1998/09/17 12:29:55 deraadt Exp $ */
/* $NetBSD: raw_usrreq.c,v 1.11 1996/02/13 22:00:43 christos Exp $ */
/*
@@ -227,8 +227,10 @@ raw_usrreq(so, req, m, nam, control)
}
error = raw_bind(so, nam);
break;
+#else
+ case PRU_CONNECT:
+ case PRU_BIND:
#endif
-
case PRU_CONNECT2:
error = EOPNOTSUPP;
goto release;