artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e7272
)
Clear AUTOCONF6TEMP flag when we detach inet6.
author
florian
<florian@openbsd.org>
Mon, 15 Mar 2021 17:28:45 +0000
(17:28 +0000)
committer
florian
<florian@openbsd.org>
Mon, 15 Mar 2021 17:28:45 +0000
(17:28 +0000)
sys/netinet6/in6_ifattach.c
patch
|
blob
|
history
diff --git
a/sys/netinet6/in6_ifattach.c
b/sys/netinet6/in6_ifattach.c
index
b019cce
..
b1ac9c8
100644
(file)
--- a/
sys/netinet6/in6_ifattach.c
+++ b/
sys/netinet6/in6_ifattach.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: in6_ifattach.c,v 1.11
7 2020/06/21 11:32:34 dlg Exp $
*/
+/* $OpenBSD: in6_ifattach.c,v 1.11
8 2021/03/15 17:28:45 florian Exp $
*/
/* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */
/*
@@
-459,6
+459,6
@@
in6_ifdetach(struct ifnet *ifp)
rtfree(rt);
}
- if (ifp->if_xflags &
IFXF_AUTOCONF6
)
- ifp->if_xflags &= ~
IFXF_AUTOCONF6
;
+ if (ifp->if_xflags &
(IFXF_AUTOCONF6 | IFXF_AUTOCONF6TEMP)
)
+ ifp->if_xflags &= ~
(IFXF_AUTOCONF6 | IFXF_AUTOCONF6TEMP)
;
}