summaryrefslogtreecommitdiff
path: root/test/bt-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/bt-utils.c')
-rw-r--r--test/bt-utils.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/test/bt-utils.c b/test/bt-utils.c
index 90815e77..36e44da4 100644
--- a/test/bt-utils.c
+++ b/test/bt-utils.c
@@ -14,7 +14,7 @@
#include "test/bt-utils.h"
#include "nest/bird.h"
-#include "nest/route.h"
+#include "nest/rt.h"
#include "nest/protocol.h"
#include "sysdep/unix/unix.h"
@@ -58,30 +58,21 @@ void resource_sys_init(void);
void
bt_bird_init(void)
{
- resource_sys_init();
if(bt_verbose)
log_init_debug("");
log_switch(bt_verbose != 0, NULL, NULL);
- the_bird_lock();
- resource_init();
olock_init();
- birdloop_init();
- io_init();
rt_init();
+ io_init();
if_init();
config_init();
protos_build();
- proto_build(&proto_unix_kernel);
- proto_build(&proto_unix_iface);
}
void bt_bird_cleanup(void)
{
- for (int i = 0; i < PROTOCOL__MAX; i++)
- class_to_protocol[i] = NULL;
-
config = new_config = NULL;
the_bird_unlock();
}