Removing code which looked at current dir for config file before attempting
to read system one.
diff --git a/isisd/isis_main.c b/isisd/isis_main.c
index e763a9e..a2a7e51 100644
--- a/isisd/isis_main.c
+++ b/isisd/isis_main.c
@@ -87,7 +87,6 @@
};
/* Configuration file and directory. */
-char config_current[] = ISISD_DEFAULT_CONFIG;
char config_default[] = SYSCONFDIR ISISD_DEFAULT_CONFIG;
char *config_file = NULL;
@@ -311,9 +310,9 @@
/* parse config file */
/* this is needed three times! because we have interfaces before the areas */
- vty_read_config (config_file, config_current, config_default);
- vty_read_config (config_file, config_current, config_default);
- vty_read_config (config_file, config_current, config_default);
+ vty_read_config (config_file, config_default);
+ vty_read_config (config_file, config_default);
+ vty_read_config (config_file, config_default);
/* demonize */
if (daemon_mode)