Make sure IS_PASSIVE gets set on a parm's int_state when the

passive option is used in an if=xxx clause.
This commit is contained in:
thorpej 2000-07-21 00:22:38 +00:00
parent 31e7834913
commit ef220cfa40
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: parms.c,v 1.13 1999/02/23 10:47:40 christos Exp $ */
/* $NetBSD: parms.c,v 1.14 2000/07/21 00:22:38 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.14 2000/07/21 00:22:38 thorpej Exp $");
#endif
#include "defs.h"
@ -757,7 +757,7 @@ parse_parms(char *line,
} 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