From b21b19c5785487f2ff4a6ce38f45c2e6c35f4363 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 15 Jun 2003 01:28:29 +0000 Subject: 2003-06-15 Paul Jakma * 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(). --- bgpd/bgp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bgpd/bgp_main.c') diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 3e1d80f6..933ca571 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -282,7 +282,7 @@ main (int argc, char **argv) signal_init (); zprivs_init (&bgpd_privs); cmd_init (1); - vty_init (); + vty_init (master); memory_init (); /* BGP related initialization. */ -- cgit v1.2.1