+2004-10-13 Hasso Tepper <hasso at quagga.net>
+
+ * ospf_main.c: Unbreak compilation with ospfapi disabled.
+
2004-10-12 Hasso Tepper <hasso at quagga.net>
* ospf_main.c, ospf_opaque.c: Unbreak ospfclient compilation - move
/* Process ID saved for use by init system */
const char *pid_file = PATH_OSPFD_PID;
+#ifdef SUPPORT_OSPF_API
extern int ospf_apiserver_enable;
+#endif /* SUPPORT_OSPF_API */
/* Help information display. */
static void
/* OSPF master init. */
ospf_master_init ();
+#ifdef SUPPORT_OSPF_API
/* OSPF apiserver is disabled by default. */
ospf_apiserver_enable = 0;
+#endif /* SUPPORT_OSPF_API */
while (1)
{
case 'u':
ospfd_privs.group = ospfd_privs.user = optarg;
break;
+#ifdef SUPPORT_OSPF_API
case 'a':
ospf_apiserver_enable = 1;
break;
+#endif /* SUPPORT_OSPF_API */
case 'v':
print_version (progname);
exit (0);