X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..HEAD:/isisd/isis_main.c?ds=sidebyside diff --git a/isisd/isis_main.c b/isisd/isis_main.c index bbb1fb2..f0b12f7 100644 --- a/isisd/isis_main.c +++ b/isisd/isis_main.c @@ -236,7 +236,6 @@ main (int argc, char **argv, char **envp) { char *p; int opt, vty_port = ISISD_VTY_PORT; - struct thread thread; char *config_file = NULL; char *vty_addr = NULL; int dryrun = 0; @@ -375,8 +374,7 @@ main (int argc, char **argv, char **envp) zlog_notice ("Quagga-ISISd %s starting: vty@%d", QUAGGA_VERSION, vty_port); /* Start finite state machine. */ - while (thread_fetch (master, &thread)) - thread_call (&thread); + thread_main (master); /* Not reached. */ exit (0);