X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/191fe7a34582876de01d3e62c2a6587baf59a283..064d9c633233495319bcaa66335ea3d24c0bd7a1:/isisd/isis_main.c 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);