[Olsr-dev] [PATCH v1 19/43] main: initialise timers after processing the configuration
Ferry Huberts
(spam-protected)
Wed Nov 11 17:21:52 CET 2015
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
src/main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main.c b/src/main.c
index 20dec74..d785587 100644
--- a/src/main.c
+++ b/src/main.c
@@ -324,9 +324,6 @@ int main(int argc, char *argv[]) {
olsr_exit("No default ifconfig found", EXIT_FAILURE);
}
- /* Initialize timers */
- olsr_init_timers();
-
/*
* Process olsrd options.
*/
@@ -363,6 +360,9 @@ int main(int argc, char *argv[]) {
olsrd_print_cnf(olsr_cnf);
}
+ /* Initialize timers */
+ olsr_init_timers();
+
def_timer_ci = olsr_alloc_cookie("Default Timer Cookie", OLSR_COOKIE_TYPE_TIMER);
/*
--
2.5.0
More information about the Olsr-dev
mailing list