X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..064d9c633233495319bcaa66335ea3d24c0bd7a1:/ripngd/ripng_main.c?ds=inline diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index 1c184e2..39bc614 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -192,7 +192,6 @@ main (int argc, char **argv) int vty_port = RIPNG_VTY_PORT; int daemon_mode = 0; char *progname; - struct thread thread; int dryrun = 0; /* Set umask before anything for security */ @@ -308,8 +307,7 @@ main (int argc, char **argv) zlog_notice ("RIPNGd %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;