summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-09-23 21:41:33 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-09-24 03:38:27 +0200
commit7dfe5b94992910354ceb76210991ac18734f76a6 (patch)
tree37527da92cc08a1e1053a0e34d4b0caac46949cc /tests
parentlib: zclient.c remove extern struct thread_master * (diff)
downloadfrr-7dfe5b94992910354ceb76210991ac18734f76a6.tar.xz
frr-7dfe5b94992910354ceb76210991ac18734f76a6.zip
bgpd: fix using of two pointers for struct thread_master
bgp is using both bm->master and master pointers interchangebly for thread manipulation. Since they are the same thing consolidate to one pointer. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/aspath_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/aspath_test.c b/tests/aspath_test.c
index 8ba77b122..f39e46550 100644
--- a/tests/aspath_test.c
+++ b/tests/aspath_test.c
@@ -1287,7 +1287,7 @@ main (void)
{
int i = 0;
bgp_master_init ();
- master = bm->master;
+ master = thread_master_create();
bgp_option_set (BGP_OPT_NO_LISTEN);
bgp_attr_init ();