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
This commit is contained in:
parent
d9c0a1e65f
commit
205380c6ba
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user