diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-08-25 13:06:10 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-08-25 13:06:10 +0000 |
commit | 331b4748570a2f58ba29b5a9f65aeaf57035dfd0 (patch) | |
tree | 48fc9dcc2a1b9701e97dc879902a1509b12b613e | |
parent | 836d6d551c04cf252e4e99feb88919d54f525a30 (diff) |
When setting a rdomain also force -inet6 aka IFXF_NOINET6 on the interface
since IPv6 is not rdomain aware and freaks out about it.
OK henning
-rw-r--r-- | sys/net/if.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 5c7bb80c8e1..73015a235bd 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.221 2010/08/24 16:13:32 claudio Exp $ */ +/* $OpenBSD: if.c,v 1.222 2010/08/25 13:06:09 claudio Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -1509,6 +1509,7 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p) #endif #ifdef INET6 in6_ifdetach(ifp); + ifp->if_xflags |= IFXF_NOINET6; #endif #ifdef INET for (ifa = TAILQ_FIRST(&ifp->if_addrlist); ifa != NULL; |