summaryrefslogtreecommitdiffstats
path: root/zebra/client_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/client_main.c')
-rw-r--r--zebra/client_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/client_main.c b/zebra/client_main.c
index 06afc56d..43ab2997 100644
--- a/zebra/client_main.c
+++ b/zebra/client_main.c
@@ -193,13 +193,15 @@ zebra_sim (FILE *fp)
int
main (int argc, char **argv)
{
+ struct thread_master *master;
FILE *fp;
if (argc == 1)
usage_exit ();
+ master = thread_master_create ();
/* Establish connection to zebra. */
- zclient = zclient_new ();
+ zclient = zclient_new (master);
zclient->enable = 1;
#ifdef HAVE_TCP_ZEBRA
zclient->sock = zclient_socket ();