Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys ctlinput handling must look at ip6_src, not ip6_dst.
details: https://anonhg.NetBSD.org/src/rev/a01f2d7a4edd
branches: trunk
changeset: 475780:a01f2d7a4edd
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Aug 25 12:38:14 1999 +0000
description:
ctlinput handling must look at ip6_src, not ip6_dst.
(this makes path mtu handling wrong)
diffstat:
sys/netinet/tcp_subr.c | 4 ++--
sys/netinet6/udp6_usrreq.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 36153170bc59 -r a01f2d7a4edd sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c Wed Aug 25 09:25:42 1999 +0000
+++ b/sys/netinet/tcp_subr.c Wed Aug 25 12:38:14 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_subr.c,v 1.76 1999/08/09 10:55:29 itojun Exp $ */
+/* $NetBSD: tcp_subr.c,v 1.77 1999/08/25 12:38:14 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -1080,7 +1080,7 @@
struct in6_addr s;
/* translate addresses into internal form */
- memcpy(&s, &ip6->ip6_dst, sizeof(s));
+ memcpy(&s, &ip6->ip6_src, sizeof(s));
if (IN6_IS_ADDR_LINKLOCAL(&s))
s.s6_addr16[1] = htons(m->m_pkthdr.rcvif->if_index);
diff -r 36153170bc59 -r a01f2d7a4edd sys/netinet6/udp6_usrreq.c
--- a/sys/netinet6/udp6_usrreq.c Wed Aug 25 09:25:42 1999 +0000
+++ b/sys/netinet6/udp6_usrreq.c Wed Aug 25 12:38:14 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udp6_usrreq.c,v 1.11 1999/08/13 10:57:05 itojun Exp $ */
+/* $NetBSD: udp6_usrreq.c,v 1.12 1999/08/25 12:38:14 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -478,7 +478,7 @@
struct in6_addr s;
/* translate addresses into internal form */
- memcpy(&s, &ip6->ip6_dst, sizeof(s));
+ memcpy(&s, &ip6->ip6_src, sizeof(s));
if (IN6_IS_ADDR_LINKLOCAL(&s))
s.s6_addr16[1] = htons(m->m_pkthdr.rcvif->if_index);
Home |
Main Index |
Thread Index |
Old Index