In fast forwarding path, defer processing of 169.254.0.0/16
to ip_input(). See RFC 3927 section 2.7.
This commit is contained in:
parent
8cad31a480
commit
d256723b8b
@ -318,6 +318,8 @@ ip_fastforward(struct mbuf *m)
|
||||
ntohl(ip->ip_dst.s_addr) == (u_long)INADDR_BROADCAST ||
|
||||
IN_MULTICAST(ntohl(ip->ip_src.s_addr)) ||
|
||||
IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) ||
|
||||
IN_LINKLOCAL(ntohl(ip->ip_src.s_addr)) ||
|
||||
IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) ||
|
||||
ip->ip_src.s_addr == INADDR_ANY ||
|
||||
ip->ip_dst.s_addr == INADDR_ANY )
|
||||
return m;
|
||||
|
Loading…
Reference in New Issue
Block a user