X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..refs/heads/master:/ripd/rip_main.c?ds=inline 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);