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]
/
ospf6d
/
ospf6_main.c
diff --git
a/ospf6d/ospf6_main.c
b/ospf6d/ospf6_main.c
index 1afe84a733afc12965657795ad3b292414a8ff34..1dbebe9a9300474cbd4fd5ebc9edad8838619b50 100644
(file)
--- a/
ospf6d/ospf6_main.c
+++ b/
ospf6d/ospf6_main.c
@@
-229,7
+229,6
@@
main (int argc, char *argv[], char *envp[])
char *vty_addr = NULL;
int vty_port = 0;
char *config_file = NULL;
char *vty_addr = NULL;
int vty_port = 0;
char *config_file = NULL;
- struct thread thread;
int dryrun = 0;
/* Set umask before anything for security */
int dryrun = 0;
/* Set umask before anything for security */
@@
-352,9
+351,8
@@
main (int argc, char *argv[], char *envp[])
QUAGGA_VERSION, OSPF6_DAEMON_VERSION,vty_port);
/* Start finite state machine, here we go! */
QUAGGA_VERSION, OSPF6_DAEMON_VERSION,vty_port);
/* Start finite state machine, here we go! */
- while (thread_fetch (master, &thread))
- thread_call (&thread);
-
+ thread_main (master);
+
/* Log in case thread failed */
zlog_warn ("Thread failed");
/* Log in case thread failed */
zlog_warn ("Thread failed");