summaryrefslogtreecommitdiff
path: root/isisd/isis_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_main.c')
-rw-r--r--isisd/isis_main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/isisd/isis_main.c b/isisd/isis_main.c
index e763a9e8..a2a7e51a 100644
--- a/isisd/isis_main.c
+++ b/isisd/isis_main.c
@@ -87,7 +87,6 @@ struct option longopts[] =
};
/* 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 @@ main (int argc, char **argv, char **envp)
/* 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)