View | Details | Raw Unified | Return to bug 257286
Collapse All | Expand All

(-)b/sys/netinet6/ip6_output.c (+9 lines)
Lines 757-762 ip6_output(struct mbuf *m0, struct ip6_pktopts *opt, Link Here
757
			goto nonh6lookup;
757
			goto nonh6lookup;
758
		}
758
		}
759
759
760
		if (opt && opt->ip6po_nextroute.ro_nh) {
761
			/*
762
			 * The nexthop is explicitly specified by the
763
			 * application.  We assume the next hop is an IPv6
764
			 * address.
765
			 */
766
			dst = (struct sockaddr_in6 *)opt->ip6po_nexthop;
767
			dst_sa.sin6_addr = dst->sin6_addr;
768
		}
760
		in6_splitscope(&dst_sa.sin6_addr, &kdst, &scopeid);
769
		in6_splitscope(&dst_sa.sin6_addr, &kdst, &scopeid);
761
770
762
		if (IN6_IS_ADDR_MC_LINKLOCAL(&dst_sa.sin6_addr) ||
771
		if (IN6_IS_ADDR_MC_LINKLOCAL(&dst_sa.sin6_addr) ||

Return to bug 257286