[BACK]Return to if_dmc.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / qbus

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

Diff for /src/sys/dev/qbus/if_dmc.c between version 1.6.6.3 and 1.6.6.4

version 1.6.6.3, 2004/09/21 13:32:38 version 1.6.6.4, 2005/02/04 11:47:09
Line 313  dmcinit(struct ifnet *ifp)
Line 313  dmcinit(struct ifnet *ifp)
          * Check to see that an address has been set           * Check to see that an address has been set
          * (both local and destination for an address family).           * (both local and destination for an address family).
          */           */
         TAILQ_FOREACH(ifa, &ifp->if_addrlist, ifa_list)          IFADDR_FOREACH(ifa, ifp)
                 if (ifa->ifa_addr->sa_family && ifa->ifa_dstaddr->sa_family)                  if (ifa->ifa_addr->sa_family && ifa->ifa_dstaddr->sa_family)
                         break;                          break;
         if (ifa == (struct ifaddr *) 0)          if (ifa == (struct ifaddr *) 0)

Legend:
Removed from v.1.6.6.3  
changed lines
  Added in v.1.6.6.4

CVSweb <webmaster@jp.NetBSD.org>