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