diff options
| author | 2001-06-21 01:43:57 +0000 | |
|---|---|---|
| committer | 2001-06-21 01:43:57 +0000 | |
| commit | e8e62b8130552e9caa6ea20d21776afc4bc48a61 (patch) | |
| tree | de01d12b67604b1585fb1ae1ead4af714160ec5c /sys/compat/linux/linux_socket.c | |
| parent | Fix PR1826. tsleep in lf_setlock can return 0 if process was ptrace'd, (diff) | |
| download | wireguard-openbsd-e8e62b8130552e9caa6ea20d21776afc4bc48a61.tar.xz wireguard-openbsd-e8e62b8130552e9caa6ea20d21776afc4bc48a61.zip | |
translate LINUX_AF_INET6 (10) into AF_INET6.
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
| -rw-r--r-- | sys/compat/linux/linux_socket.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index 136e292b103..731f41ca902 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_socket.c,v 1.19 2001/05/24 06:00:09 jasoni Exp $ */ +/* $OpenBSD: linux_socket.c,v 1.20 2001/06/21 01:43:57 itojun Exp $ */ /* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */ /* @@ -125,6 +125,8 @@ linux_to_bsd_domain(ldom) return AF_IPX; case LINUX_AF_APPLETALK: return AF_APPLETALK; + case LINUX_AF_INET6: + return AF_INET6; default: return -1; } |
