Removing code which looked at current dir for config file before attempting
to read system one.
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index c22e90b..ffdad10 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -79,7 +79,6 @@
};
/* Configuration file and directory. */
-char config_current[] = OSPF6_DEFAULT_CONFIG;
char config_default[] = SYSCONFDIR OSPF6_DEFAULT_CONFIG;
/* ospf6d program name. */
@@ -291,7 +290,7 @@
sort_node ();
/* parse config file */
- vty_read_config (config_file, config_current, config_default);
+ vty_read_config (config_file, config_default);
if (daemon_mode)
daemon (0, 0);