X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..refs/heads/upstream:/nhrpd/nhrp_main.c?ds=sidebyside diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c index 56ea271..1e3fee5 100644 --- a/nhrpd/nhrp_main.c +++ b/nhrpd/nhrp_main.c @@ -184,7 +184,6 @@ static struct quagga_signal_t sighandlers[] = { int main(int argc, char **argv) { - struct thread thread; const char *progname; /* Set umask before anything for security */ @@ -240,8 +239,7 @@ int main(int argc, char **argv) zlog_notice("nhrpd starting: vty@%d", vty_port); /* Main loop */ - while (thread_fetch(master, &thread)) - thread_call(&thread); + thread_main (master); return 0; }