summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2008-05-12 02:44:53 +0000
committergnn <gnn@FreeBSD.org>2008-05-12 02:44:53 +0000
commit205380c6ba6b50603d508e772c94c76fc484cd78 (patch)
tree5a454bbfa807f4d53fe0b7acf72cb01312896802
parentd9c0a1e65f0ca5fcb5b3d286c8ae5ce3a9e1c519 (diff)
downloadFreeBSD-src-205380c6ba6b50603d508e772c94c76fc484cd78.zip
FreeBSD-src-205380c6ba6b50603d508e772c94c76fc484cd78.tar.gz
Fix the loopback interface. Cleaning up some code with new macros
was a tad too aggressive. PR: kern/123568 Submitted by: Vladimir Ermakov <samflanker at gmail dot com> Obtained from: antoine
-rw-r--r--sys/netinet/ip_icmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index bed9536..153a815 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -631,7 +631,6 @@ icmp_reflect(struct mbuf *m)
if (IN_MULTICAST(ntohl(ip->ip_src.s_addr)) ||
IN_EXPERIMENTAL(ntohl(ip->ip_src.s_addr)) ||
- IN_LOOPBACK(ntohl(ip->ip_src.s_addr)) ||
IN_ZERONET(ntohl(ip->ip_src.s_addr)) ) {
m_freem(m); /* Bad return address */
icmpstat.icps_badaddr++;
OpenPOWER on IntegriCloud