[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.30 and 1.30.4.1

version 1.30, 2000/05/05 08:03:12 version 1.30.4.1, 2001/02/26 15:57:18
Line 873  in6_ifdetach(ifp)
Line 873  in6_ifdetach(ifp)
         sin6.sin6_family = AF_INET6;          sin6.sin6_family = AF_INET6;
         sin6.sin6_addr = in6addr_linklocal_allnodes;          sin6.sin6_addr = in6addr_linklocal_allnodes;
         sin6.sin6_addr.s6_addr16[1] = htons(ifp->if_index);          sin6.sin6_addr.s6_addr16[1] = htons(ifp->if_index);
         if ((rt = rtalloc1((struct sockaddr *)&sin6, 0)) != NULL) {          rt = rtalloc1((struct sockaddr *)&sin6, 0);
           if (rt && rt->rt_ifp == ifp) {
                 rtrequest(RTM_DELETE, (struct sockaddr *)rt_key(rt),                  rtrequest(RTM_DELETE, (struct sockaddr *)rt_key(rt),
                         rt->rt_gateway, rt_mask(rt), rt->rt_flags, 0);                          rt->rt_gateway, rt_mask(rt), rt->rt_flags, 0);
                 rtfree(rt);                  rtfree(rt);

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.30.4.1

CVSweb <webmaster@jp.NetBSD.org>