X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/191fe7a34582876de01d3e62c2a6587baf59a283..064d9c633233495319bcaa66335ea3d24c0bd7a1:/zebra/main.c diff --git a/zebra/main.c b/zebra/main.c index 35cb159..e34ff76 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -295,7 +295,6 @@ main (int argc, char **argv) int daemon_mode = 0; char *config_file = NULL; char *progname; - struct thread thread; char *zserv_path = NULL; char *fpm_format = NULL; @@ -489,10 +488,8 @@ main (int argc, char **argv) /* Print banner. */ zlog_notice ("Zebra %s starting: vty@%d", QUAGGA_VERSION, vty_port); + + thread_main (zebrad.master); - while (thread_fetch (zebrad.master, &thread)) - thread_call (&thread); - - /* Not reached... */ return 0; }