X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/191fe7a34582876de01d3e62c2a6587baf59a283..064d9c633233495319bcaa66335ea3d24c0bd7a1:/ospfd/ospf_main.c diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index 32b64e2..ee48018 100644 --- a/ospfd/ospf_main.c +++ b/ospfd/ospf_main.c @@ -186,7 +186,6 @@ main (int argc, char **argv) int daemon_mode = 0; char *config_file = NULL; char *progname; - struct thread thread; int dryrun = 0; /* Set umask before anything for security */ @@ -334,10 +333,8 @@ main (int argc, char **argv) /* Print banner. */ zlog_notice ("OSPFd %s starting: vty@%d", QUAGGA_VERSION, vty_port); - /* Fetch next active thread. */ - while (thread_fetch (master, &thread)) - thread_call (&thread); - + thread_main (master); + /* Not reached. */ return (0); }