[BACK]Return to nd6_rtr.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/nd6_rtr.c between version 1.16 and 1.17

version 1.16, 2000/06/13 02:54:11 version 1.17, 2000/06/13 04:35:29
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
 /*      $KAME: nd6_rtr.c,v 1.39 2000/06/13 02:50:43 itojun Exp $        */  /*      $KAME: nd6_rtr.c,v 1.40 2000/06/13 03:02:29 jinmei Exp $        */
   
 /*  /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.   * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Line 1233  in6_ifadd(ifp, in6, addr, prefixlen)
Line 1233  in6_ifadd(ifp, in6, addr, prefixlen)
                 for( ; oia->ia_next; oia = oia->ia_next)                  for( ; oia->ia_next; oia = oia->ia_next)
                         continue;                          continue;
                 oia->ia_next = ia;                  oia->ia_next = ia;
         } else          } else {
                   /*
                    * This should be impossible, since we have at least one
                    * link-local address (see the beginning of this function).
                    * XXX: should we rather panic here?
                    */
                   printf("in6_ifadd: in6_ifaddr is NULL (impossible!)\n");
                 in6_ifaddr = ia;                  in6_ifaddr = ia;
           }
         /* gain a refcnt for the link from in6_ifaddr */          /* gain a refcnt for the link from in6_ifaddr */
         IFAREF((struct ifaddr *)ia);          IFAREF((struct ifaddr *)ia);
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

CVSweb <webmaster@jp.NetBSD.org>