|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.97, 2000/02/11 05:57:58 | version 1.98, 2000/02/12 17:45:44 | ||
|---|---|---|---|
|
|
||
| } | } | ||
| 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; | ||
| } | } | ||