[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.84 and 1.85

version 1.84, 1999/04/07 05:34:32 version 1.85, 1999/05/03 21:14:47
Line 340  next:
Line 340  next:
                 }                  }
                 ip = mtod(m, struct ip *);                  ip = mtod(m, struct ip *);
         }          }
           /*
            * we drop packets that have a multicast address as source
            * as wanted by rfc 1112
            */
           if (IN_MULTICAST(ip->ip_src.s_addr)) {
                   ipstat.ips_odropped++;
                   goto bad;
           }
   
         if (in_cksum(m, hlen) != 0) {          if (in_cksum(m, hlen) != 0) {
                 ipstat.ips_badsum++;                  ipstat.ips_badsum++;
                 goto bad;                  goto bad;

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.85

CVSweb <webmaster@jp.NetBSD.org>