From b770fc65cee77b114f765cae2670968afd403c04 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 9 Nov 2014 15:58:44 +0100 Subject: [PATCH] tools: apply ip_dstchng_fix.diff --- sys/netinet/ip_input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index a574754adcd..faef928ae5a 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -504,8 +504,7 @@ tooshort: goto ours; } if (m->m_flags & M_IP_NEXTHOP) { - dchg = (m_tag_find(m, PACKET_TAG_IPFORWARD, NULL) != NULL); - if (dchg != 0) { + if (m_tag_find(m, PACKET_TAG_IPFORWARD, NULL) != NULL) { /* * Directly ship the packet on. This allows * forwarding packets originally destined to us