2003-06-15 Paul Jakma <paul@dishone.st>

	* lib/vty.{c,h}: Remove vty layer depending on a 'master' global,
	  pass the thread master in explicitly to vty_init. Sort out some
	  header dependency problems with lib/command.h
	* zebra/: Move globals to struct zebrad. Update vty_init().
	* (.*)/\1_main.c: update call to vty_init().
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c
index 3e1d80f..933ca57 100644
--- a/bgpd/bgp_main.c
+++ b/bgpd/bgp_main.c
@@ -282,7 +282,7 @@
   signal_init ();
   zprivs_init (&bgpd_privs);
   cmd_init (1);
-  vty_init ();
+  vty_init (master);
   memory_init ();
 
   /* BGP related initialization.  */