X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/191fe7a34582876de01d3e62c2a6587baf59a283..064d9c633233495319bcaa66335ea3d24c0bd7a1:/ripd/rip_main.c diff --git a/ripd/rip_main.c b/ripd/rip_main.c index 4ead9b0..a6eaed5 100644 --- a/ripd/rip_main.c +++ b/ripd/rip_main.c @@ -193,7 +193,6 @@ main (int argc, char **argv) int daemon_mode = 0; int dryrun = 0; char *progname; - struct thread thread; /* Set umask before anything for security */ umask (0027); @@ -313,8 +312,7 @@ main (int argc, char **argv) zlog_notice ("RIPd %s starting: vty@%d", QUAGGA_VERSION, vty_port); /* Execute each thread. */ - while (thread_fetch (master, &thread)) - thread_call (&thread); + thread_main (master); /* Not reached. */ return (0);