diff options
author | paulo <paul@bayleaf.org.uk> | 2009-12-07 14:21:17 +0000 |
---|---|---|
committer | paulo <paul@bayleaf.org.uk> | 2009-12-07 14:21:17 +0000 |
commit | 63565b7d35577d095089ee579534abd7788f50ab (patch) | |
tree | 726a9c2a32db3f36126fe952e786fe641c8bfca5 /bgpd/bgp_main.c | |
parent | 2c282bd4752f5eae9d5e40d687fdc6af2f203c91 (diff) | |
download | quagga-63565b7d35577d095089ee579534abd7788f50ab.tar.bz2 quagga-63565b7d35577d095089ee579534abd7788f50ab.tar.xz |
Make vty and log thread safe under single mutex.
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r-- | bgpd/bgp_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 9d14683c..3568d2b1 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -404,9 +404,9 @@ main (int argc, char **argv) /* Initializations. */ srand (time (NULL)); signal_init (master, Q_SIGC(bgp_signals), bgp_signals); - zprivs_init (&bgpd_privs); + zprivs_init_r (&bgpd_privs); cmd_init (1); - vty_init (master); + vty_init_r (master); memory_init (); /* BGP related initialization. */ |