From: Renato Westphal Date: Mon, 2 Jul 2018 01:08:02 +0000 (-0300) Subject: babeld: avoid reading the configuration file twice X-Git-Tag: frr-6.1-dev~71^2~5 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=cd028568249c65cdceb0e8693aed822b1ed51429;p=mirror%2Ffrr.git 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 --- 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)