diff options
| author | John Hay <jhay@FreeBSD.org> | 2006-09-05 19:20:42 +0000 |
|---|---|---|
| committer | John Hay <jhay@FreeBSD.org> | 2006-09-05 19:20:42 +0000 |
| commit | 80a684e08375ba6ebfea283bd9cf7070459b8857 (patch) | |
| tree | a7ff41d3e609c662062edbf0328cecd1fc5a01f4 | |
| parent | 23da540855b85419840ea2223eca4a9ea36452e3 (diff) | |
Notes
| -rw-r--r-- | sys/netinet6/ip6_forward.c | 2 |
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 |
