mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
Unbreak ospfclient compilation.
This commit is contained in:
parent
54aa6b2d79
commit
f4d58ce5aa
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-12 Hasso Tepper <hasso at quagga.net>
|
||||||
|
|
||||||
|
* ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
|
||||||
|
static variable from ospf_main.c into ospf_opaque.c.
|
||||||
|
|
||||||
2004-10-11 Hasso Tepper <hasso at quagga.net>
|
2004-10-11 Hasso Tepper <hasso at quagga.net>
|
||||||
|
|
||||||
* ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
|
* ospf_main.c, ospf_opaque.c: Disable ospfapi init by default. New
|
||||||
|
@ -100,8 +100,7 @@ struct thread_master *master;
|
|||||||
/* Process ID saved for use by init system */
|
/* Process ID saved for use by init system */
|
||||||
const char *pid_file = PATH_OSPFD_PID;
|
const char *pid_file = PATH_OSPFD_PID;
|
||||||
|
|
||||||
/* OSPF apiserver is disabled by default. */
|
extern int ospf_apiserver_enable;
|
||||||
int ospf_apiserver_enable = 0;
|
|
||||||
|
|
||||||
/* Help information display. */
|
/* Help information display. */
|
||||||
static void
|
static void
|
||||||
@ -205,6 +204,9 @@ main (int argc, char **argv)
|
|||||||
/* OSPF master init. */
|
/* OSPF master init. */
|
||||||
ospf_master_init ();
|
ospf_master_init ();
|
||||||
|
|
||||||
|
/* OSPF apiserver is disabled by default. */
|
||||||
|
ospf_apiserver_enable = 0;
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
int opt;
|
int opt;
|
||||||
|
@ -69,7 +69,8 @@
|
|||||||
#ifdef SUPPORT_OSPF_API
|
#ifdef SUPPORT_OSPF_API
|
||||||
int ospf_apiserver_init (void);
|
int ospf_apiserver_init (void);
|
||||||
void ospf_apiserver_term (void);
|
void ospf_apiserver_term (void);
|
||||||
extern int ospf_apiserver_enable;
|
/* Init apiserver? It's disabled by default. */
|
||||||
|
int ospf_apiserver_enable;
|
||||||
#endif /* SUPPORT_OSPF_API */
|
#endif /* SUPPORT_OSPF_API */
|
||||||
|
|
||||||
static void ospf_opaque_register_vty (void);
|
static void ospf_opaque_register_vty (void);
|
||||||
|
Loading…
Reference in New Issue
Block a user