Revert "tools: apply ip_dstchng_fix.diff"

This reverts commit b770fc65ce.
Revert this, not in FreeBSD and can't see why it is needed.

Suggested by: ad@
This commit is contained in:
Franco Fichtner 2015-04-15 10:49:15 +02:00
parent e291c587e0
commit 5c14f52aa8

View file

@ -504,7 +504,8 @@ tooshort:
goto ours;
}
if (m->m_flags & M_IP_NEXTHOP) {
if (m_tag_find(m, PACKET_TAG_IPFORWARD, NULL) != NULL) {
dchg = (m_tag_find(m, PACKET_TAG_IPFORWARD, NULL) != NULL);
if (dchg != 0) {
/*
* Directly ship the packet on. This allows
* forwarding packets originally destined to us