summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/parse.y
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-03-22 22:13:49 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-03-22 22:13:49 +0000
commit8a40b42338d4d8f23036428ca1de8583573f6461 (patch)
treec50a11e3e6587573d400bc774ac283925a2a0ca2 /usr.sbin/ospfd/parse.y
parenta5c8c7427195568ba9d33a925c8c45c14163b6a5 (diff)
Remove bool cruft.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/parse.y')
-rw-r--r--usr.sbin/ospfd/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/parse.y b/usr.sbin/ospfd/parse.y
index afb4d61b08b..2e57ad8fa8c 100644
--- a/usr.sbin/ospfd/parse.y
+++ b/usr.sbin/ospfd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.8 2005/03/12 11:03:05 norby Exp $ */
+/* $OpenBSD: parse.y,v 1.9 2005/03/22 22:13:48 norby Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -375,7 +375,7 @@ interface : INTERFACE STRING {
LIST_INSERT_HEAD(&area->iface_list,
iface, entry);
iface->rtr_id = conf->rtr_id;
- iface->passive = false;
+ iface->passive = 0;
} optnl '{' optnl {
} interfaceopts_l '}' {
@@ -389,7 +389,7 @@ interfaceopts_l : interfaceopts_l interfaceoptsl
interfaceoptsl : authkey nl
| authtype nl
- | PASSIVE nl { iface->passive = true; }
+ | PASSIVE nl { iface->passive = 1; }
| METRIC number nl {
if ($2 < MIN_METRIC || $2 > MAX_METRIC) {
yyerror("metric out of range (%d-%d)",