int daemon_mode = 0;
int dryrun = 0;
char *progname;
- struct thread thread;
/* Set umask before anything for security */
umask (0027);
zlog_notice ("RIPd %s starting: vty@%d", QUAGGA_VERSION, vty_port);
/* Execute each thread. */
- while (thread_fetch (master, &thread))
- thread_call (&thread);
+ thread_main (master);
/* Not reached. */
return (0);