Unbreak ospfclient compilation.
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c
index a7e56dc..7e4d45d 100644
--- a/ospfd/ospf_main.c
+++ b/ospfd/ospf_main.c
@@ -100,8 +100,7 @@
/* Process ID saved for use by init system */
const char *pid_file = PATH_OSPFD_PID;
-/* OSPF apiserver is disabled by default. */
-int ospf_apiserver_enable = 0;
+extern int ospf_apiserver_enable;
/* Help information display. */
static void
@@ -205,6 +204,9 @@
/* OSPF master init. */
ospf_master_init ();
+ /* OSPF apiserver is disabled by default. */
+ ospf_apiserver_enable = 0;
+
while (1)
{
int opt;