babeld: fix erroneous lib init

Babel was screwing up lib initialization causing double inits of many
things.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2018-06-20 18:49:38 +00:00
parent 5ad4c39ce4
commit fc5031bc33

View File

@ -184,9 +184,6 @@ main(int argc, char **argv)
/* Library inits. */
babel_error_init();
zprivs_init (&babeld_privs);
cmd_init (1);
vty_init (master);
resend_delay = BABEL_DEFAULT_RESEND_DELAY;
change_smoothing_half_life(BABEL_DEFAULT_SMOOTHING_HALF_LIFE);