X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..263db399dd1fd6e1b69359ba82d0adebfb53f915:/ospf6d/ospf6_main.c?ds=inline diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index 1afe84a..1dbebe9 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -229,7 +229,6 @@ main (int argc, char *argv[], char *envp[]) char *vty_addr = NULL; int vty_port = 0; char *config_file = NULL; - struct thread thread; int dryrun = 0; /* Set umask before anything for security */ @@ -352,9 +351,8 @@ main (int argc, char *argv[], char *envp[]) QUAGGA_VERSION, OSPF6_DAEMON_VERSION,vty_port); /* Start finite state machine, here we go! */ - while (thread_fetch (master, &thread)) - thread_call (&thread); - + thread_main (master); + /* Log in case thread failed */ zlog_warn ("Thread failed");