summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_main.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2009-12-08 17:28:22 +0000
committerpaulo <paul@bayleaf.org.uk>2009-12-08 17:28:22 +0000
commitfcb95c8784471d8cb31940c6d2f77f3ac8f2697e (patch)
treea8b41d72f41f4ccc0ad31cb66bbb9cd04658c666 /bgpd/bgp_main.c
parent38db244955dcaf0fe50cf0da732b13735fdc0de0 (diff)
downloadquagga-fcb95c8784471d8cb31940c6d2f77f3ac8f2697e.tar.bz2
quagga-fcb95c8784471d8cb31940c6d2f77f3ac8f2697e.tar.xz
Wired up the CLI thread with new qpnexus type. Still work in progress.
Needs debugging.
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r--bgpd/bgp_main.c6
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);