View | Details | Raw Unified | Return to bug 235927
Collapse All | Expand All

(-)sys/netinet/ip_icmp.c (-1 lines)
Lines 733-739 Link Here
733
	int optlen = (ip->ip_hl << 2) - sizeof(struct ip);
733
	int optlen = (ip->ip_hl << 2) - sizeof(struct ip);
734
734
735
	if (IN_MULTICAST(ntohl(ip->ip_src.s_addr)) ||
735
	if (IN_MULTICAST(ntohl(ip->ip_src.s_addr)) ||
736
	    IN_EXPERIMENTAL(ntohl(ip->ip_src.s_addr)) ||
737
	    IN_ZERONET(ntohl(ip->ip_src.s_addr)) ) {
736
	    IN_ZERONET(ntohl(ip->ip_src.s_addr)) ) {
738
		m_freem(m);	/* Bad return address */
737
		m_freem(m);	/* Bad return address */
739
		ICMPSTAT_INC(icps_badaddr);
738
		ICMPSTAT_INC(icps_badaddr);

Return to bug 235927