|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.82.2.3, 1999/10/17 23:59:59 | version 1.82.2.4, 2000/02/12 18:10:24 | ||
|---|---|---|---|
|
|
||
| } | } | ||
| ip = mtod(m, struct ip *); | ip = mtod(m, struct ip *); | ||
| } | } | ||
| /* | |||
| * RFC1122: packets with a multicast source address are | |||
| * not allowed. | |||
| */ | |||
| if (IN_MULTICAST(ip->ip_src.s_addr)) { | |||
| /* XXX stat */ | |||
| goto bad; | |||
| } | |||
| if (in_cksum(m, hlen) != 0) { | if (in_cksum(m, hlen) != 0) { | ||
| ipstat.ips_badsum++; | ipstat.ips_badsum++; | ||
| goto bad; | goto bad; |