diff options
author | wollman <wollman@FreeBSD.org> | 1995-07-26 18:05:16 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-07-26 18:05:16 +0000 |
commit | 39a85a58ed8d6e8e315fe2b097174f032de724c4 (patch) | |
tree | 0733cadd9ba1a752d85a8046472fba0c995ad24f /sys/netinet/ip_output.c | |
parent | 94e5a8eb42395728836ef3ee2387fe1f64b655f1 (diff) | |
download | FreeBSD-src-39a85a58ed8d6e8e315fe2b097174f032de724c4.zip FreeBSD-src-39a85a58ed8d6e8e315fe2b097174f032de724c4.tar.gz |
Fix test for determining when RSVP is inactive in a router. (In this
case, multicast options are not passed to ip_mforward().) The previous
version had a wrong test, thus causing RSVP mrouters to forward RSVP messages
in violation of the spec.
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index e6e3fe2..83e7382 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 - * $Id: ip_output.c,v 1.21 1995/07/01 19:09:40 joerg Exp $ + * $Id: ip_output.c,v 1.22 1995/07/02 16:45:07 joerg Exp $ */ #include <sys/param.h> @@ -247,7 +247,7 @@ ip_output(m0, opt, ro, flags, imo) * is multicast and not just sent down one link * as prescribed by rsvpd. */ - if (ip_rsvpd == NULL) + if (!rsvp_on) imo = NULL; if (ip_mforward(ip, ifp, m, imo) != 0) { m_freem(m); |