summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/neighbor.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-18 17:01:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-18 17:01:00 +0000
commitb190e65fd18284efd3361cee55aba4d8d04d55a4 (patch)
treed57e1ce0d5915b4910c41f4cdcdfa791a4179349 /usr.sbin/ripd/neighbor.c
parentae647d82e4b6735021bcb2964503fb3fb2c76985 (diff)
spacing
Diffstat (limited to 'usr.sbin/ripd/neighbor.c')
-rw-r--r--usr.sbin/ripd/neighbor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ripd/neighbor.c b/usr.sbin/ripd/neighbor.c
index 9ceb8709eaf..0be04473890 100644
--- a/usr.sbin/ripd/neighbor.c
+++ b/usr.sbin/ripd/neighbor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: neighbor.c,v 1.7 2007/03/27 20:19:04 michele Exp $ */
+/* $OpenBSD: neighbor.c,v 1.8 2007/10/18 17:00:59 deraadt Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -154,7 +154,7 @@ nbr_fsm(struct nbr *nbr, enum nbr_event event)
void
nbr_init(u_int32_t hashsize)
{
- u_int32_t hs, i;
+ u_int32_t hs, i;
for (hs = 1; hs < hashsize; hs <<= 1)
;
@@ -274,7 +274,7 @@ nbr_failed_new(struct nbr *nbr)
iface = nbr->iface;
timerclear(&tv);
- tv.tv_sec = FAILED_NBR_TIMEOUT;
+ tv.tv_sec = FAILED_NBR_TIMEOUT;
evtimer_set(&nbr_failed->timeout_timer, nbr_failed_timeout,
nbr_failed);