summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-06-08 00:14:45 +0000
committerderaadt <deraadt@openbsd.org>2005-06-08 00:14:45 +0000
commit90e99f636d5f6fafed76cabc7fafffdefccd9ed6 (patch)
tree5410a7c27101dc32f7586e17d16582b835ed4923
parenthandle ramdisks, and kernels without inet6; henning ok (diff)
downloadwireguard-openbsd-90e99f636d5f6fafed76cabc7fafffdefccd9ed6.tar.xz
wireguard-openbsd-90e99f636d5f6fafed76cabc7fafffdefccd9ed6.zip
more inet6 stuff that got exposed
-rw-r--r--sys/net/if.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 7a505296500..981ae1ff996 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.129 2005/06/08 00:13:19 deraadt Exp $ */
+/* $OpenBSD: if.c,v 1.130 2005/06/08 00:14:45 deraadt Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -1727,6 +1727,7 @@ if_group_routechange(struct sockaddr *dst, struct sockaddr *mask)
satosin(mask)->sin_addr.s_addr == INADDR_ANY)
if_group_ext_build();
break;
+#ifdef INET6
case AF_INET6:
if (IN6_ARE_ADDR_EQUAL(&(satosin6(dst))->sin6_addr,
&in6addr_any) &&
@@ -1734,6 +1735,7 @@ if_group_routechange(struct sockaddr *dst, struct sockaddr *mask)
&in6addr_any))
if_group_ext_build();
break;
+#endif
}
}