diff options
author | Luiz Otavio O Souza <loos@FreeBSD.org> | 2016-05-23 16:20:50 +0000 |
---|---|---|
committer | Luiz Otavio O Souza <loos@FreeBSD.org> | 2016-05-23 16:20:50 +0000 |
commit | 3a10ff297900fd39933e19e50dcf489f8159a4ea (patch) | |
tree | 7c881695451d8c1f4c388ebd594a5c9857af0b35 | |
parent | 018480fd632aa1c452442dd0efc76603663c529c (diff) |
Notes
-rw-r--r-- | sys/netinet/ip_input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 2dc080f13105..e9e61f61f12f 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -499,8 +499,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 |