Source-Changes-HG archive

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

[src/trunk]: src/sbin/routed In walk_supply(), test for IS_PASSIVE in ifp->in...



details:   https://anonhg.NetBSD.org/src/rev/28a9264c867e
branches:  trunk
changeset: 495074:28a9264c867e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 20 22:50:16 2000 +0000

description:
In walk_supply(), test for IS_PASSIVE in ifp->int_state, not
ifp->int_if_flags (IFF_* bits).

diffstat:

 sbin/routed/output.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9c17ed449f40 -r 28a9264c867e sbin/routed/output.c
--- a/sbin/routed/output.c      Thu Jul 20 22:00:48 2000 +0000
+++ b/sbin/routed/output.c      Thu Jul 20 22:50:16 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: output.c,v 1.17 1999/02/23 10:47:40 christos Exp $     */
+/*     $NetBSD: output.c,v 1.18 2000/07/20 22:50:16 thorpej Exp $      */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -37,7 +37,7 @@
 static char sccsid[] __attribute__((unused)) = "@(#)output.c   8.1 (Berkeley) 6/5/93";
 #elif defined(__NetBSD__)
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: output.c,v 1.17 1999/02/23 10:47:40 christos Exp $");
+__RCSID("$NetBSD: output.c,v 1.18 2000/07/20 22:50:16 thorpej Exp $");
 #endif
 
 #include "defs.h"
@@ -463,7 +463,7 @@
         */
        if ((RT->rt_state & RS_IF)
            && RT->rt_ifp != 0
-           && (RT->rt_ifp->int_if_flags & IS_PASSIVE)
+           && (RT->rt_ifp->int_state & IS_PASSIVE)
            && !(RT->rt_state & RS_MHOME))
                return 0;
 



Home | Main Index | Thread Index | Old Index