Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/netinet Pullup 1.62 [itojun]:



details:   https://anonhg.NetBSD.org/src/rev/b51fcec05bb9
branches:  netbsd-1-5
changeset: 490183:b51fcec05bb9
user:      tv <tv%NetBSD.org@localhost>
date:      Fri Nov 10 00:12:43 2000 +0000

description:
Pullup 1.62 [itojun]:
fix IPv4 TTL selection with AF_INET6 API.  sync with kame.  From: jdc

diffstat:

 sys/netinet/tcp_output.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 72aea8f04096 -r b51fcec05bb9 sys/netinet/tcp_output.c
--- a/sys/netinet/tcp_output.c  Fri Nov 10 00:09:05 2000 +0000
+++ b/sys/netinet/tcp_output.c  Fri Nov 10 00:12:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_output.c,v 1.56.4.2 2000/08/15 15:18:55 itojun Exp $       */
+/*     $NetBSD: tcp_output.c,v 1.56.4.3 2000/11/10 00:12:43 tv Exp $   */
 
 /*
 %%% portions-copyright-nrl-95
@@ -940,7 +940,7 @@
                }
 #ifdef INET6
                else if (tp->t_in6pcb) {
-                       ip->ip_ttl = tp->t_in6pcb->in6p_ip6.ip6_hlim;
+                       ip->ip_ttl = in6_selecthlim(tp->t_in6pcb, NULL); /*XXX*/
                        ip->ip_tos = 0; /*XXX*/
                }
 #endif



Home | Main Index | Thread Index | Old Index