summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-08-08 15:15:25 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-08-08 15:15:25 +0000
commit542f02818273f5836d15901a74d9e79acc393335 (patch)
treede51f52da869d9f5ec4a97d4e0b8e81f662f10ef /pfinet
parent5268bededcdc5f49d6192f61b54dff42b48e9bdc (diff)
entered into RCS
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/linux-inet/af_inet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pfinet/linux-inet/af_inet.c b/pfinet/linux-inet/af_inet.c
index ef8ee78d..d20c8bfb 100644
--- a/pfinet/linux-inet/af_inet.c
+++ b/pfinet/linux-inet/af_inet.c
@@ -577,6 +577,7 @@ static int inet_create(struct socket *sock, int protocol)
sk->num = protocol;
break;
+#ifndef _HURD_
case SOCK_PACKET:
if (!suser())
{
@@ -595,6 +596,7 @@ static int inet_create(struct socket *sock, int protocol)
*/
sk->num = protocol;
break;
+#endif
default:
kfree_s((void *)sk, sizeof(*sk));