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.64 (via patch, requeste...



details:   https://anonhg.NetBSD.org/src/rev/891a8938ba08
branches:  netbsd-1-5
changeset: 491699:891a8938ba08
user:      he <he%NetBSD.org@localhost>
date:      Wed May 09 19:38:03 2001 +0000

description:
Pull up revision 1.64 (via patch, requested by itojun):
  Correct faith prefix determintaion.

diffstat:

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

diffs (28 lines):

diff -r 9bf482b87be8 -r 891a8938ba08 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c      Wed May 09 19:37:41 2001 +0000
+++ b/sys/netinet6/icmp6.c      Wed May 09 19:38:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icmp6.c,v 1.33.2.12 2001/04/28 06:55:46 he Exp $       */
+/*     $NetBSD: icmp6.c,v 1.33.2.13 2001/05/09 19:38:03 he Exp $       */
 /*     $KAME: icmp6.c,v 1.146 2000/10/01 12:37:20 itojun Exp $ */
 
 /*
@@ -104,6 +104,9 @@
 #endif
 
 #include "faith.h"
+#if defined(NFAITH) && 0 < NFAITH
+#include <net/if_faith.h>
+#endif
 
 #include <net/net_osdep.h>
 
@@ -347,7 +350,7 @@
        }
 
 #if defined(NFAITH) && 0 < NFAITH
-       if (m->m_pkthdr.rcvif && m->m_pkthdr.rcvif->if_type == IFT_FAITH) {
+       if (faithprefix(&ip6->ip6_dst)) {
                /*
                 * Deliver very specific ICMP6 type only.
                 * This is important to deilver TOOBIG.  Otherwise PMTUD



Home | Main Index | Thread Index | Old Index