diff options
author | sperreault <sperreault@cvs.openbsd.org> | 2012-08-15 14:00:33 +0000 |
---|---|---|
committer | sperreault <sperreault@cvs.openbsd.org> | 2012-08-15 14:00:33 +0000 |
commit | 2a98afab0b631cba796e2c63f470b91bf9da56de (patch) | |
tree | 4d45124cde395954ef4025f1c5f40c46ea0ae391 | |
parent | eb8242df2acd79f388d7f64f1328e08fa29b8e31 (diff) |
Enable IPv6 autoconfprivacy by default
diff originally by stsp@
"please commit it" deraadt@
"don't care" stsp@
"don't like" bluhm@
-rw-r--r-- | sys/netinet6/in6_ifattach.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index 96918584081..ea61dae2a18 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_ifattach.c,v 1.53 2012/01/03 23:41:51 bluhm Exp $ */ +/* $OpenBSD: in6_ifattach.c,v 1.54 2012/08/15 14:00:32 sperreault Exp $ */ /* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */ /* @@ -645,6 +645,9 @@ in6_ifattach(struct ifnet *ifp, struct ifnet *altifp) } } } + + /* Enable autoconf privacy addresses. */ + ifp->if_xflags |= IFXF_INET6_PRIVACY; } /* |