[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.97 and 1.98

version 1.97, 2000/02/11 05:57:58 version 1.98, 2000/02/12 17:45:44
Line 397  ip_input(struct mbuf *m)
Line 397  ip_input(struct mbuf *m)
                 }                  }
                 ip = mtod(m, struct ip *);                  ip = mtod(m, struct ip *);
         }          }
   
         /*          /*
          * we drop packets that have a multicast address as source           * RFC1112: packets with a multicast source address are
          * as wanted by rfc 1112           * not allowed.
          */           */
         if (IN_MULTICAST(ip->ip_src.s_addr)) {          if (IN_MULTICAST(ip->ip_src.s_addr)) {
                   /* XXX stat */
                 goto bad;                  goto bad;
         }          }
   

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98

CVSweb <webmaster@jp.NetBSD.org>