Skip to content

Commit

Permalink
do not updated the "dst" address, which was the next-hop address,
Browse files Browse the repository at this point in the history
for multicast destinations.
  • Loading branch information
jinmei committed Mar 17, 2002
1 parent 2cfe8c7 commit ee91223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kame/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
/* $KAME: ip6_output.c,v 1.289 2002/03/02 09:56:16 jinmei Exp $ */
/* $KAME: ip6_output.c,v 1.290 2002/03/17 19:48:19 jinmei Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -1088,7 +1088,7 @@ skip_ipsec2:;
goto bad;

routefound:
if (rt) {
if (rt && !IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) {
if (opt && opt->ip6po_nextroute.ro_rt) {
/*
* The nexthop is explicitly specified by the
Expand Down

0 comments on commit ee91223

Please sign in to comment.