summaryrefslogtreecommitdiff
path: root/tests/lib/test_grpc.cpp
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-02-02 11:51:03 -0500
committerGitHub <noreply@github.com>2024-02-02 11:51:03 -0500
commit22b79197bb32cfbe60ce76f63dc7ce93920328a3 (patch)
treed8d261a6283512de3d8ff29542a83c9e0f6958d2 /tests/lib/test_grpc.cpp
parent4650d5aa5ae6408e91b19e299eef2f80ee0332ab (diff)
parentcb781f60972aca7e0fdd18884814a9ef0403a67c (diff)
Merge pull request #15279 from idryzhov/staticd-fixes
several fixes for staticd configuration
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 957ffdefaa..202313603d 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();