summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-11 23:59:06 +0100
committerMartin Mares <mj@ucw.cz>1999-02-11 23:59:06 +0100
commit67bd949a520151a5ab50090d02617adc4960868c (patch)
treef51bc8de9ed319069c710c9c33772b886567cc67 /lib
parent14dea0ed25cd0385ce35cf66ff309a78960b18ca (diff)
downloadbird-67bd949a520151a5ab50090d02617adc4960868c.tar
bird-67bd949a520151a5ab50090d02617adc4960868c.zip
Real implementation of protocol state machines. Delayed startup/shutdown
should work now. Initial feeding of protocols by interfaces/routes is done from the event queue to prevent unwanted recursion.
Diffstat (limited to 'lib')
-rw-r--r--lib/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/event.c b/lib/event.c
index 7f5454f..962c640 100644
--- a/lib/event.c
+++ b/lib/event.c
@@ -34,7 +34,7 @@ ev_dump(resource *r)
static struct resclass ev_class = {
"Event",
- 0,
+ sizeof(event),
(void (*)(resource *)) ev_postpone,
ev_dump
};