aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>2006-09-05 19:20:42 +0000
committerJohn Hay <jhay@FreeBSD.org>2006-09-05 19:20:42 +0000
commit80a684e08375ba6ebfea283bd9cf7070459b8857 (patch)
treea7ff41d3e609c662062edbf0328cecd1fc5a01f4
parent23da540855b85419840ea2223eca4a9ea36452e3 (diff)
Notes
-rw-r--r--sys/netinet6/ip6_forward.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c
index 604e96a8a83b..4893cd198b84 100644
--- a/sys/netinet6/ip6_forward.c
+++ b/sys/netinet6/ip6_forward.c
@@ -525,7 +525,7 @@ ip6_forward(m, srcrt)
* Also, don't send redirect if forwarding using a route
* modified by a redirect.
*/
- if (rt->rt_ifp == m->m_pkthdr.rcvif && !srcrt &&
+ if (ip6_sendredirects && rt->rt_ifp == m->m_pkthdr.rcvif && !srcrt &&
#ifdef IPSEC
!ipsecrt &&
#endif