From 5e340518c5d9eb3b7590420c0e7197b0a1f19658 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 8 Jun 2005 00:14:46 +0000 Subject: more inet6 stuff that got exposed --- sys/net/if.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/net/if.c') 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 } } -- cgit v1.2.3