From 46715ff034d41b8432cc05a6a1caa61d3f5551b1 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 16 Dec 2016 00:01:20 +0100 Subject: [PATCH] tests: add missing qobj_init() call This was SEGV'ing the test in bgp_master_init() since QOBJ_REG was used without qobj_init() being called first. Signed-off-by: David Lamparter --- tests/aspath_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/aspath_test.c b/tests/aspath_test.c index 9d595807fe..f3999cbcff 100644 --- a/tests/aspath_test.c +++ b/tests/aspath_test.c @@ -1331,6 +1331,7 @@ int main (void) { int i = 0; + qobj_init (); bgp_master_init (); master = bm->master; bgp_option_set (BGP_OPT_NO_LISTEN); -- 2.39.5