1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Do not check receive interface when pfil(9) hook changed address.

Approved by: bms(mentor)
This commit is contained in:
Max Laier 2004-02-13 19:20:43 +00:00
parent 1094bdca51
commit 189a0ba4e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125785

View File

@ -556,7 +556,7 @@ ip_input(struct mbuf *m)
checkif = ip_checkinterface && (ipforwarding == 0) &&
m->m_pkthdr.rcvif != NULL &&
((m->m_pkthdr.rcvif->if_flags & IFF_LOOPBACK) == 0) &&
(args.next_hop == NULL);
(args.next_hop == NULL) && (dchg == 0);
/*
* Check for exact addresses in the hash bucket.