summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/rde.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-11-04 10:46:24 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-11-04 10:46:24 +0000
commitbb54d62056cb3f77d73a95dad724fd095cdcd0b2 (patch)
tree9dfdf5120bdc16020bae9082e9ab1c22332d643e /usr.sbin/ospfd/rde.c
parentec401e892fd44ba50870a3927d327ad6d9a9874d (diff)
Kill spf_timer in struct ospfd_conf. There is no need for two event structs
just use ev for the spf_timer -- ev is unused in the RDE.
Diffstat (limited to 'usr.sbin/ospfd/rde.c')
-rw-r--r--usr.sbin/ospfd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/rde.c b/usr.sbin/ospfd/rde.c
index 357720229b5..8d223f92992 100644
--- a/usr.sbin/ospfd/rde.c
+++ b/usr.sbin/ospfd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.32 2005/11/04 10:38:03 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.33 2005/11/04 10:46:23 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -156,7 +156,7 @@ rde(struct ospfd_conf *xconf, int pipe_parent2rde[2], int pipe_ospfe2rde[2],
ibuf_main->handler, ibuf_main);
event_add(&ibuf_main->ev, NULL);
- evtimer_set(&rdeconf->spf_timer, spf_timer, rdeconf);
+ evtimer_set(&rdeconf->ev, spf_timer, rdeconf);
cand_list_init();
rt_init();