summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorhasso <hasso>2004-06-20 19:54:37 +0000
committerhasso <hasso>2004-06-20 19:54:37 +0000
commit320ec10a24d8dd81d0aa011dc92e07877e4e02f8 (patch)
tree867cc29d5981b58bad9392cb7eb471daeb8250a1 /zebra
parent6c0f9a782a7be49de53b5ae00980990d96edbf03 (diff)
Removing code which looked at current dir for config file before attempting
to read system one.
Diffstat (limited to 'zebra')
-rw-r--r--zebra/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 3384d7dd..1083ae57 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -95,7 +95,6 @@ struct zebra_privs_t zserv_privs =
};
/* Default configuration file path. */
-char config_current[] = DEFAULT_CONFIG_FILE;
char config_default[] = SYSCONFDIR DEFAULT_CONFIG_FILE;
/* Process ID saved for use by init system */
@@ -317,7 +316,7 @@ main (int argc, char **argv)
rib_sweep_route ();
/* Configuration file read*/
- vty_read_config (config_file, config_current, config_default);
+ vty_read_config (config_file, config_default);
/* Clean up rib. */
rib_weed_tables ();