diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2018-07-02 03:08:02 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2018-08-13 23:59:31 +0200 |
commit | cd028568249c65cdceb0e8693aed822b1ed51429 (patch) | |
tree | b5c348bc4663b5f840b4baf80a20a573b73364eb /babeld | |
parent | lib: add listnode_add_head() (diff) | |
download | frr-cd028568249c65cdceb0e8693aed822b1ed51429.tar.xz frr-cd028568249c65cdceb0e8693aed822b1ed51429.zip |
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>
Diffstat (limited to 'babeld')
-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 9ea123c8f..2b87bed0f 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) |