Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.sbin/route6d pullup 1.15 -> 1.16 (approved by relen...



details:   https://anonhg.NetBSD.org/src/rev/d10a268b869e
branches:  netbsd-1-5
changeset: 489089:d10a268b869e
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Aug 13 03:08:52 2000 +0000

description:
pullup 1.15 -> 1.16 (approved by releng-1-5)
fix behavior or -A.  routing table check does not seem to working right

diffstat:

 usr.sbin/route6d/route6d.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r ef976900f5d2 -r d10a268b869e usr.sbin/route6d/route6d.c
--- a/usr.sbin/route6d/route6d.c        Sun Aug 13 00:52:50 2000 +0000
+++ b/usr.sbin/route6d/route6d.c        Sun Aug 13 03:08:52 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route6d.c,v 1.13.4.3 2000/08/13 00:52:50 itojun Exp $  */
+/*     $NetBSD: route6d.c,v 1.13.4.4 2000/08/13 03:08:52 itojun Exp $  */
 /*     $KAME: route6d.c,v 1.35 2000/08/13 00:39:44 itojun Exp $        */
 
 /*
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef        lint
-__RCSID("$NetBSD: route6d.c,v 1.13.4.3 2000/08/13 00:52:50 itojun Exp $");
+__RCSID("$NetBSD: route6d.c,v 1.13.4.4 2000/08/13 03:08:52 itojun Exp $");
 #endif
 
 #include <stdio.h>
@@ -2725,7 +2725,9 @@
        struct  iff ftmp, *iff_obj;
        struct  ifc *ifcp;
        struct  riprt *rrt;
+#if 0
        struct  in6_addr gw;
+#endif
 
        for (i = 0; i < nfilter; i++) {
                ap = filter[i];
@@ -2784,6 +2786,7 @@
                rrt->rrt_rflags = RRTF_AGGREGATE;
                rrt->rrt_t = 0;
                rrt->rrt_index = loopifindex;
+#if 0
                if (getroute(&rrt->rrt_info, &gw)) {
 #if 0
                        /*
@@ -2800,6 +2803,7 @@
                            rrt->rrt_info.rip6_plen);
 #endif
                }
+#endif
                /* Put the route to the list */
                rrt->rrt_next = riprt;
                riprt = rrt;



Home | Main Index | Thread Index | Old Index