[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.314 and 1.315

version 1.314, 2014/05/23 23:38:48 version 1.315, 2014/05/28 19:19:33
Line 587  ip_input(struct mbuf *m)
Line 587  ip_input(struct mbuf *m)
          * we get finer grain control.           * we get finer grain control.
          */           */
         checkif = ip_checkinterface && (ipforwarding == 0) &&          checkif = ip_checkinterface && (ipforwarding == 0) &&
             ifp && (ifp->if_flags & IFF_LOOPBACK) == 0;              (ifp->if_flags & IFF_LOOPBACK) == 0;
   
         /*          /*
          * 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.
Line 609  ip_input(struct mbuf *m)
Line 609  ip_input(struct mbuf *m)
         }          }
         if (ia != NULL)          if (ia != NULL)
                 goto ours;                  goto ours;
         if (ifp && ifp->if_flags & IFF_BROADCAST) {          if (ifp->if_flags & IFF_BROADCAST) {
                 IFADDR_FOREACH(ifa, ifp) {                  IFADDR_FOREACH(ifa, ifp) {
                         if (ifa->ifa_addr->sa_family != AF_INET)                          if (ifa->ifa_addr->sa_family != AF_INET)
                                 continue;                                  continue;

Legend:
Removed from v.1.314  
changed lines
  Added in v.1.315

CVSweb <webmaster@jp.NetBSD.org>