summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}
}