2003-04-04 Paul Jakma <paul@dishone.st>
* Sync to Zebra CVS
* Fix lib/thread.h leak
* Fix small Opaque LSA leak
* Do not configure OSPF interfaces for secondary addresses
* vtysh fixes from Hasso
* Dave Watson's missing ntohs fix
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c
index 6f6262a..dfbf3f6 100644
--- a/ospfd/ospf_main.c
+++ b/ospfd/ospf_main.c
@@ -193,6 +193,9 @@
zlog_default = openzlog (progname, ZLOG_NOLOG, ZLOG_OSPF,
LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON);
+ /* OSPF master init. */
+ ospf_master_init ();
+
while (1)
{
int opt;
@@ -243,7 +246,7 @@
}
/* Initializations. */
- master = thread_master_create ();
+ master = om->master;
/* Library inits. */
signal_init ();