From 5c14f52aa876e332e150ba4f70c78240200c4bbc Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 15 Apr 2015 10:49:15 +0200 Subject: [PATCH] Revert "tools: apply ip_dstchng_fix.diff" This reverts commit b770fc65cee77b114f765cae2670968afd403c04. Revert this, not in FreeBSD and can't see why it is needed. Suggested by: ad@ --- sys/netinet/ip_input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index faef928ae5a..a574754adcd 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -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