[BACK]Return to in6_ifattach.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet6

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet6/in6_ifattach.c between version 1.94 and 1.94.2.1

version 1.94, 2014/11/14 17:34:23 version 1.94.2.1, 2015/04/06 15:18:23
Line 848  in6_ifdetach(struct ifnet *ifp)
Line 848  in6_ifdetach(struct ifnet *ifp)
         ip6_mrouter_detach(ifp);          ip6_mrouter_detach(ifp);
   
         /* remove neighbor management table */          /* remove neighbor management table */
         nd6_purge(ifp);          nd6_purge(ifp, NULL);
   
         /* XXX this code is duplicated in in6_purgeif() --dyoung */          /* XXX this code is duplicated in in6_purgeif() --dyoung */
         /* nuke any of IPv6 addresses we have */          /* nuke any of IPv6 addresses we have */
Line 919  in6_ifdetach(struct ifnet *ifp)
Line 919  in6_ifdetach(struct ifnet *ifp)
          * prefixes after removing all addresses above.           * prefixes after removing all addresses above.
          * (Or can we just delay calling nd6_purge until at this point?)           * (Or can we just delay calling nd6_purge until at this point?)
          */           */
         nd6_purge(ifp);          nd6_purge(ifp, NULL);
 }  }
   
 int  int

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.94.2.1

CVSweb <webmaster@jp.NetBSD.org>