diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-16 00:01:20 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-16 20:42:01 +0100 |
| commit | 46715ff034d41b8432cc05a6a1caa61d3f5551b1 (patch) | |
| tree | 417d671146937ec158582c38653d2dd4205cfac1 /tests/aspath_test.c | |
| parent | 7ef290efa335d238e26a06b8946f3f8291e95b3f (diff) | |
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 <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/aspath_test.c')
| -rw-r--r-- | tests/aspath_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
