summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/bt-utils.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/bt-utils.c b/test/bt-utils.c
index 8496e185..509b5ed4 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"
@@ -62,8 +62,8 @@ bt_bird_init(void)
olock_init();
timer_init();
- io_init();
rt_init();
+ io_init();
if_init();
config_init();
@@ -72,9 +72,6 @@ bt_bird_init(void)
void bt_bird_cleanup(void)
{
- for (int i = 0; i < PROTOCOL__MAX; i++)
- class_to_protocol[i] = NULL;
-
config = new_config = NULL;
}