int vty_port = 4000;
int daemon_mode = 0;
char *progname;
- struct thread thread;
char *config_file = NULL;
/* Set umask before anything for security */
test_init();
/* Fetch next active thread. */
- while (thread_fetch (master, &thread))
- thread_call (&thread);
+ thread_main (master);
/* Not reached. */
exit (0);