[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.333 and 1.334

version 1.333, 2016/07/04 08:10:50 version 1.334, 2016/07/06 05:27:52
Line 372  ip_match_our_address(struct ifnet *ifp, 
Line 372  ip_match_our_address(struct ifnet *ifp, 
         checkif = ip_checkinterface && (ipforwarding == 0) &&          checkif = ip_checkinterface && (ipforwarding == 0) &&
             (ifp->if_flags & IFF_LOOPBACK) == 0;              (ifp->if_flags & IFF_LOOPBACK) == 0;
   
         LIST_FOREACH(ia, &IN_IFADDR_HASH(ip->ip_dst.s_addr), ia_hash) {          IN_ADDRHASH_READER_FOREACH(ia, ip->ip_dst.s_addr) {
                 if (in_hosteq(ia->ia_addr.sin_addr, ip->ip_dst)) {                  if (in_hosteq(ia->ia_addr.sin_addr, ip->ip_dst)) {
                         if (ia->ia4_flags & IN_IFF_NOTREADY)                          if (ia->ia4_flags & IN_IFF_NOTREADY)
                                 continue;                                  continue;

Legend:
Removed from v.1.333  
changed lines
  Added in v.1.334

CVSweb <webmaster@jp.NetBSD.org>