diff options
author | hasso <hasso> | 2004-10-12 06:13:54 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-12 06:13:54 +0000 |
commit | f4d58ce5aa0da64fd136c5747ff371d46736490a (patch) | |
tree | 942bd00e2c53a22dd7f0c057d489b13ce1d7c4bd /ospfd/ospf_main.c | |
parent | 54aa6b2d796416ed0d606c49bf4a0f1e62b93401 (diff) |
Unbreak ospfclient compilation.
Diffstat (limited to 'ospfd/ospf_main.c')
-rw-r--r-- | ospfd/ospf_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; |