From f4d58ce5aa0da64fd136c5747ff371d46736490a Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 12 Oct 2004 06:13:54 +0000 Subject: Unbreak ospfclient compilation. --- ospfd/ospf_main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ospfd/ospf_main.c') diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index a7e56dcd..7e4d45d3 100644 --- a/ospfd/ospf_main.c +++ b/ospfd/ospf_main.c @@ -100,8 +100,7 @@ struct thread_master *master; /* 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 @@ main (int argc, char **argv) /* OSPF master init. */ ospf_master_init (); + /* OSPF apiserver is disabled by default. */ + ospf_apiserver_enable = 0; + while (1) { int opt; -- cgit v1.2.1