summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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 ();