From e8e62b8130552e9caa6ea20d21776afc4bc48a61 Mon Sep 17 00:00:00 2001 From: itojun Date: Thu, 21 Jun 2001 01:43:57 +0000 Subject: translate LINUX_AF_INET6 (10) into AF_INET6. --- sys/compat/linux/linux_socket.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/compat/linux/linux_socket.c') 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; } -- cgit v1.2.3-59-g8ed1b