Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Send MIPM_DAD_SUCCESS message even if the home link has no {IFF_RUNNI…

…NG,UP}.
  • Loading branch information...
commit 8d1a5cd8fdf6edcd80d825cf3299a4daadf0ec8a 1 parent 87b4d83
t-momose authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 kame/sys/netinet6/nd6_nbr.c
View
8 kame/sys/netinet6/nd6_nbr.c
@@ -1,4 +1,4 @@
-/* $KAME: nd6_nbr.c,v 1.169 2005/12/23 11:10:38 jinmei Exp $ */
+/* $KAME: nd6_nbr.c,v 1.170 2006/02/17 11:37:27 t-momose Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -1431,6 +1431,12 @@ nd6_dad_timer(ifa)
TAILQ_REMOVE(&dadq, (struct dadq *)dp, dad_list);
free(dp, M_IP6NDP);
dp = NULL;
+#ifdef MIP6
+ if (ia->ia6_flags & IN6_IFF_PSEUDOIFA) {
+ /* Notify the address was not duplicated via mipsock */
+ mips_notify_dad_result(MIPM_DAD_SUCCESS, &ia->ia_addr.sin6_addr, ia->ia_ifp->if_index);
+ }
+#endif /* MIP6 */
IFAFREE(ifa);
goto done;
}
Please sign in to comment.
Something went wrong with that request. Please try again.