FreeBSD Bugzilla – Attachment 226555 Details for
Bug 257286
gateway with `ping -6 -e` is ignored
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
gateway.diff (text/plain), 662 bytes, created by
jcaplan
on 2021-07-19 20:55:37 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
jcaplan
Created:
2021-07-19 20:55:37 UTC
Size:
662 bytes
patch
obsolete
>diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c >index 4e8f22a01b0a..7dbfc31578c6 100644 >--- a/sys/netinet6/ip6_output.c >+++ b/sys/netinet6/ip6_output.c >@@ -757,6 +757,15 @@ ip6_output(struct mbuf *m0, struct ip6_pktopts *opt, > goto nonh6lookup; > } > >+ if (opt && opt->ip6po_nextroute.ro_nh) { >+ /* >+ * The nexthop is explicitly specified by the >+ * application. We assume the next hop is an IPv6 >+ * address. >+ */ >+ dst = (struct sockaddr_in6 *)opt->ip6po_nexthop; >+ dst_sa.sin6_addr = dst->sin6_addr; >+ } > in6_splitscope(&dst_sa.sin6_addr, &kdst, &scopeid); > > if (IN6_IS_ADDR_MC_LINKLOCAL(&dst_sa.sin6_addr) ||
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257286
: 226555