summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/neighbor.c
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/neighbor.c
parenta5c8c7427195568ba9d33a925c8c45c14163b6a5 (diff)
Remove bool cruft.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/neighbor.c')
-rw-r--r--usr.sbin/ospfd/neighbor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ospfd/neighbor.c b/usr.sbin/ospfd/neighbor.c
index 3bf3e5b6613..2d62444e21f 100644
--- a/usr.sbin/ospfd/neighbor.c
+++ b/usr.sbin/ospfd/neighbor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: neighbor.c,v 1.12 2005/03/17 21:17:12 claudio Exp $ */
+/* $OpenBSD: neighbor.c,v 1.13 2005/03/22 22:13:48 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -255,7 +255,7 @@ nbr_new(u_int32_t nbr_id, struct iface *iface, int self)
fatal("nbr_new");
nbr->state = NBR_STA_DOWN;
- nbr->master = true;
+ nbr->master = 1;
nbr->dd_seq_num = arc4random(); /* RFC: some unique value */
nbr->id.s_addr = nbr_id;
@@ -496,7 +496,7 @@ nbr_act_eval(struct nbr *nbr)
}
nbr->state = NBR_STA_XSTRT;
- nbr->master = true;
+ nbr->master = 1;
nbr->dd_seq_num++; /* as per RFC */
nbr->dd_pending = 0;
/* initial db negotiation */
@@ -569,7 +569,7 @@ nbr_act_restart_dd(struct nbr *nbr)
}
nbr->state = NBR_STA_XSTRT;
- nbr->master = true;
+ nbr->master = 1;
nbr->dd_seq_num += arc4random() & 0xffff;
nbr->dd_pending = 0;