summaryrefslogtreecommitdiffstats
path: root/tests/lib/test_grpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_grpc.cpp')
-rw-r--r--tests/lib/test_grpc.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/test_grpc.cpp b/tests/lib/test_grpc.cpp
index 957ffde..2023136 100644
--- a/tests/lib/test_grpc.cpp
+++ b/tests/lib/test_grpc.cpp
@@ -119,8 +119,10 @@ static void static_startup(void)
hook_register(routing_conf_event,
routing_control_plane_protocols_name_validate);
-
- routing_control_plane_protocols_register_vrf_dependency();
+ hook_register(routing_create,
+ routing_control_plane_protocols_staticd_create);
+ hook_register(routing_destroy,
+ routing_control_plane_protocols_staticd_destroy);
// Add a route
vty = vty_new();