diff options
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r-- | bgpd/bgp_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 3568d2b1..7ab403bc 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -406,7 +406,8 @@ main (int argc, char **argv) signal_init (master, Q_SIGC(bgp_signals), bgp_signals); zprivs_init_r (&bgpd_privs); cmd_init (1); - vty_init_r (master); + vty_init_r(); +/* vty_init (master); */ memory_init (); /* BGP related initialization. */ @@ -442,6 +443,9 @@ main (int argc, char **argv) (bm->address ? bm->address : "<all>"), bm->port); + /* create CLI thread */ + vty_exec_r(); + /* Start finite state machine, here we go! */ while (thread_fetch (master, &thread)) thread_call (&thread); |