diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-06-08 00:14:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-06-08 00:14:46 +0000 |
commit | 5e340518c5d9eb3b7590420c0e7197b0a1f19658 (patch) | |
tree | e11cdc5887b29cae92e2df78f7d3dab0645fa653 /sys/net/if.c | |
parent | e82c4784a2c285653bc9aea14b48184d82f7efd6 (diff) |
more inet6 stuff that got exposed
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 4 |
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 } } |