Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/netinet6 Pull up revision 1.65 (requested by itojun):



details:   https://anonhg.NetBSD.org/src/rev/20a48fc9f108
branches:  netbsd-1-5
changeset: 491849:20a48fc9f108
user:      he <he%NetBSD.org@localhost>
date:      Thu Jun 07 16:13:05 2001 +0000

description:
Pull up revision 1.65 (requested by itojun):
  Correct icmp6 hoplimit value.

diffstat:

 sys/netinet6/icmp6.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a14f59735504 -r 20a48fc9f108 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c      Thu Jun 07 15:58:51 2001 +0000
+++ b/sys/netinet6/icmp6.c      Thu Jun 07 16:13:05 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icmp6.c,v 1.33.2.14 2001/05/09 19:42:09 he Exp $       */
+/*     $NetBSD: icmp6.c,v 1.33.2.15 2001/06/07 16:13:05 he Exp $       */
 /*     $KAME: icmp6.c,v 1.146 2000/10/01 12:37:20 itojun Exp $ */
 
 /*
@@ -1881,7 +1881,8 @@
        if (m->m_pkthdr.rcvif) {
                /* XXX: This may not be the outgoing interface */
                ip6->ip6_hlim = nd_ifinfo[m->m_pkthdr.rcvif->if_index].chlim;
-       }
+       } else
+               ip6->ip6_hlim = ip6_defhlim;
 
        icmp6->icmp6_cksum = 0;
        icmp6->icmp6_cksum = in6_cksum(m, IPPROTO_ICMPV6,



Home | Main Index | Thread Index | Old Index