projects
/
quagga-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New upstream version 1.2.3
[quagga-debian.git]
/
ospfd
/
ospf_main.c
diff --git
a/ospfd/ospf_main.c
b/ospfd/ospf_main.c
index 32b64e2aa0e35b688d5d9a6f99845ea68b5d72ff..ee48018fea3522a12edfbdcb4e5a280ffb6334c2 100644
(file)
--- a/
ospfd/ospf_main.c
+++ b/
ospfd/ospf_main.c
@@
-186,7
+186,6
@@
main (int argc, char **argv)
int daemon_mode = 0;
char *config_file = NULL;
char *progname;
int daemon_mode = 0;
char *config_file = NULL;
char *progname;
- struct thread thread;
int dryrun = 0;
/* Set umask before anything for security */
int dryrun = 0;
/* Set umask before anything for security */
@@
-334,10
+333,8
@@
main (int argc, char **argv)
/* Print banner. */
zlog_notice ("OSPFd %s starting: vty@%d", QUAGGA_VERSION, vty_port);
/* Print banner. */
zlog_notice ("OSPFd %s starting: vty@%d", QUAGGA_VERSION, vty_port);
- /* Fetch next active thread. */
- while (thread_fetch (master, &thread))
- thread_call (&thread);
-
+ thread_main (master);
+
/* Not reached. */
return (0);
}
/* Not reached. */
return (0);
}