From cd028568249c65cdceb0e8693aed822b1ed51429 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Sun, 1 Jul 2018 22:08:02 -0300 Subject: [PATCH] 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 --- babeld/babel_main.c | 3 --- 1 file changed, 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) -- 2.39.5