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

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

Diff for /src/sys/netinet/ip_input.c between version 1.82.2.1 and 1.82.2.2

version 1.82.2.1, 1999/04/07 23:20:42 version 1.82.2.2, 1999/05/03 22:22:42
Line 420  next:
Line 420  next:
          * Check our list of addresses, to see if the packet is for us.           * Check our list of addresses, to see if the packet is for us.
          */           */
         INADDR_TO_IA(ip->ip_dst, ia);          INADDR_TO_IA(ip->ip_dst, ia);
         if (ia != NULL) {          if (ia != NULL)
                 if (ia->ia_ifp->if_flags & IFF_UP)                  goto ours;
                         goto ours;  
         }  
         if (m->m_pkthdr.rcvif->if_flags & IFF_BROADCAST) {          if (m->m_pkthdr.rcvif->if_flags & IFF_BROADCAST) {
                 for (ifa = m->m_pkthdr.rcvif->if_addrlist.tqh_first;                  for (ifa = m->m_pkthdr.rcvif->if_addrlist.tqh_first;
                     ifa != NULL; ifa = ifa->ifa_list.tqe_next) {                      ifa != NULL; ifa = ifa->ifa_list.tqe_next) {

Legend:
Removed from v.1.82.2.1  
changed lines
  Added in v.1.82.2.2

CVSweb <webmaster@jp.NetBSD.org>