Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sbin/routed Pull up rev. 1.14:



details:   https://anonhg.NetBSD.org/src/rev/d0dd45d028bb
branches:  netbsd-1-5
changeset: 488607:d0dd45d028bb
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jul 21 00:23:47 2000 +0000

description:
Pull up rev. 1.14:
Make sure IS_PASSIVE gets set on a parm's int_state when the
passive option is used in an if=xxx clause.

diffstat:

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

diffs (27 lines):

diff -r b4ef6c854dea -r d0dd45d028bb sbin/routed/parms.c
--- a/sbin/routed/parms.c       Thu Jul 20 22:52:51 2000 +0000
+++ b/sbin/routed/parms.c       Fri Jul 21 00:23:47 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parms.c,v 1.13 1999/02/23 10:47:40 christos Exp $      */
+/*     $NetBSD: parms.c,v 1.13.10.1 2000/07/21 00:23:47 thorpej Exp $  */
 
 /*
  * Copyright (c) 1983, 1993
@@ -37,7 +37,7 @@
 static char sccsid[] __attribute__((unused)) = "@(#)if.c       8.1 (Berkeley) 6/5/93";
 #elif defined(__NetBSD__)
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: parms.c,v 1.13 1999/02/23 10:47:40 christos Exp $");
+__RCSID("$NetBSD: parms.c,v 1.13.10.1 2000/07/21 00:23:47 thorpej Exp $");
 #endif
 
 #include "defs.h"
@@ -757,7 +757,7 @@
 
                } else if (PARS("passive")) {
                        CKF((GROUP_IS_SOL_OUT|GROUP_IS_ADV_OUT), IS_NO_RDISC);
-                       parm.parm_int_state |= IS_NO_RIP;
+                       parm.parm_int_state |= IS_NO_RIP | IS_PASSIVE;
 
                } else if (PARSEQ("rdisc_pref")) {
                        if (parm.parm_rdisc_pref != 0



Home | Main Index | Thread Index | Old Index