From 320ec10a24d8dd81d0aa011dc92e07877e4e02f8 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 20 Jun 2004 19:54:37 +0000 Subject: Removing code which looked at current dir for config file before attempting to read system one. --- ospf6d/ospf6_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ospf6d') diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index c22e90bb..ffdad10b 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -79,7 +79,6 @@ struct option longopts[] = }; /* Configuration file and directory. */ -char config_current[] = OSPF6_DEFAULT_CONFIG; char config_default[] = SYSCONFDIR OSPF6_DEFAULT_CONFIG; /* ospf6d program name. */ @@ -291,7 +290,7 @@ main (int argc, char *argv[], char *envp[]) 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); -- cgit v1.2.1