diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2018-07-01 22:08:02 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2018-08-13 18:59:31 -0300 |
| commit | cd028568249c65cdceb0e8693aed822b1ed51429 (patch) | |
| tree | b5c348bc4663b5f840b4baf80a20a573b73364eb | |
| parent | 9ea82f28d499f2bf5668fde86474b3e5287e58c6 (diff) | |
babeld: avoid reading the configuration file twice
The frr_config_fork() function called by all FRR daemons during
initialization already takes care of reading the startup configuration
file.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
| -rw-r--r-- | babeld/babel_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c index 9ea123c8f9..2b87bed0fb 100644 --- a/babeld/babel_main.c +++ b/babeld/babel_main.c @@ -196,9 +196,6 @@ main(int argc, char **argv) /* this replace kernel_setup && kernel_setup_socket */ babelz_zebra_init (); - /* Get zebra configuration file. */ - vty_read_config (babeld_di.config_file, babel_config_default); - /* init buffer */ rc = resize_receive_buffer(1500); if(rc < 0) |
