[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.109.2.1 and 1.110

version 1.109.2.1, 2017/04/21 16:54:06 version 1.110, 2017/01/24 07:09:25
Line 712  in6_ifattach(struct ifnet *ifp, struct i
Line 712  in6_ifattach(struct ifnet *ifp, struct i
         /* some of the interfaces are inherently not IPv6 capable */          /* some of the interfaces are inherently not IPv6 capable */
         switch (ifp->if_type) {          switch (ifp->if_type) {
         case IFT_BRIDGE:          case IFT_BRIDGE:
         case IFT_L2TP:  
 #ifdef IFT_PFLOG  #ifdef IFT_PFLOG
         case IFT_PFLOG:          case IFT_PFLOG:
 #endif  #endif
Line 735  in6_ifattach(struct ifnet *ifp, struct i
Line 734  in6_ifattach(struct ifnet *ifp, struct i
                 return;                  return;
         }          }
   
           /* create a multicast kludge storage (if we have not had one) */
           in6_createmkludge(ifp);
   
         /*          /*
          * quirks based on interface type           * quirks based on interface type
          */           */
Line 809  in6_ifdetach(struct ifnet *ifp)
Line 811  in6_ifdetach(struct ifnet *ifp)
         /* nuke any of IPv6 addresses we have */          /* nuke any of IPv6 addresses we have */
         if_purgeaddrs(ifp, AF_INET6, in6_purgeaddr);          if_purgeaddrs(ifp, AF_INET6, in6_purgeaddr);
   
         in6_purge_multi(ifp);  
   
         /* remove ip6_mrouter stuff */          /* remove ip6_mrouter stuff */
         ip6_mrouter_detach(ifp);          ip6_mrouter_detach(ifp);
   
           /* cleanup multicast address kludge table, if there is any */
           in6_purgemkludge(ifp);
   
         /* remove neighbor management table */          /* remove neighbor management table */
         nd6_purge(ifp, NULL);          nd6_purge(ifp, NULL);
   

Legend:
Removed from v.1.109.2.1  
changed lines
  Added in v.1.110

CVSweb <webmaster@jp.NetBSD.org>