summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-02-07 11:46:23 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-02-07 11:46:23 +0000
commit5280afe188fafcf3ef9c36b295462d4509416cdd (patch)
tree53c52c85945bcac8e5d557e61f829e96114ef1bb /sys/netinet6
parentab68204e67acf8f6cd003849586aeaa58289360f (diff)
turn off duplicated address detection when interface address gets deleted.
sync with kame
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index 56d98aed7ef..445a5dcb83f 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.c,v 1.23 2001/01/18 06:11:12 itojun Exp $ */
+/* $OpenBSD: in6.c,v 1.24 2001/02/07 11:46:22 itojun Exp $ */
/* $KAME: in6.c,v 1.109 2000/10/24 07:19:01 jinmei Exp $ */
/*
@@ -828,6 +828,9 @@ in6_purgeaddr(ifa, ifp)
{
struct in6_ifaddr *oia, *ia = (void *) ifa;
+ /* stop DAD processing */
+ nd6_dad_stop(ifa);
+
in6_ifscrub(ifp, ia);
if (ifp->if_flags & IFF_MULTICAST) {