diff options
Diffstat (limited to 'zebra/client_main.c')
| -rw-r--r-- | zebra/client_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/client_main.c b/zebra/client_main.c index 8b95907bc6..cc69ef761b 100644 --- a/zebra/client_main.c +++ b/zebra/client_main.c @@ -192,13 +192,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 (); |
