X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..HEAD:/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; }