summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_main.c
diff options
context:
space:
mode:
authorpaul <paul>2003-06-15 03:28:29 +0200
committerpaul <paul>2003-06-15 03:28:29 +0200
commitb21b19c5785487f2ff4a6ce38f45c2e6c35f4363 (patch)
treec79f90ce7bd798b3f1391010153d9fdf7c7418f0 /bgpd/bgp_main.c
parent2003-06-12 Paul Jakma <paul@dishone.st> (diff)
downloadfrr-b21b19c5785487f2ff4a6ce38f45c2e6c35f4363.tar.xz
frr-b21b19c5785487f2ff4a6ce38f45c2e6c35f4363.zip
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().
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r--bgpd/bgp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c
index 3e1d80f69..933ca5718 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. */