diff options
Diffstat (limited to 'pfinet/linux-inet')
-rw-r--r-- | pfinet/linux-inet/af_inet.c | 2 |
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)); |