summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 5628b5e022..20a2185b1b 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -390,6 +390,9 @@ int main(int argc, char **argv)
vty_config_lockless();
zebrad.master = frr_init();
+ /* Initialize pthread library */
+ frr_pthread_init();
+
/* Zebra related initialize. */
zebra_router_init();
zserv_init();
@@ -445,9 +448,6 @@ int main(int argc, char **argv)
/* Needed for BSD routing socket. */
pid = getpid();
- /* Intialize pthread library */
- frr_pthread_init();
-
/* Start Zebra API server */
zserv_start(zserv_path);