summaryrefslogtreecommitdiff
path: root/ospfd/ospf_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_main.c')
-rw-r--r--ospfd/ospf_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c
index 1ebc9e9e..7e1567ca 100644
--- a/ospfd/ospf_main.c
+++ b/ospfd/ospf_main.c
@@ -74,7 +74,6 @@ struct zebra_privs_t ospfd_privs =
};
/* Configuration filename and directory. */
-char config_current[] = OSPF_DEFAULT_CONFIG;
char config_default[] = SYSCONFDIR OSPF_DEFAULT_CONFIG;
/* OSPFd options. */
@@ -286,7 +285,7 @@ main (int argc, char **argv)
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)