Removing code which looked at current dir for config file before attempting
to read system one.
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c
index 1ebc9e9..7e1567c 100644
--- a/ospfd/ospf_main.c
+++ b/ospfd/ospf_main.c
@@ -74,7 +74,6 @@
};
/* Configuration filename and directory. */
-char config_current[] = OSPF_DEFAULT_CONFIG;
char config_default[] = SYSCONFDIR OSPF_DEFAULT_CONFIG;
/* OSPFd options. */
@@ -286,7 +285,7 @@
sort_node ();
/* Get configuration file. */
- vty_read_config (config_file, config_current, config_default);
+ vty_read_config (config_file, config_default);
/* Change to the daemon program. */
if (daemon_mode)