aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/session_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/unittest/session_test.c')
-rw-r--r--src/plugins/unittest/session_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/unittest/session_test.c b/src/plugins/unittest/session_test.c
index 182a8e806ea..e24516668ff 100644
--- a/src/plugins/unittest/session_test.c
+++ b/src/plugins/unittest/session_test.c
@@ -216,6 +216,7 @@ session_test_basic (vlib_main_t * vm, unformat_input_t * input)
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
+ .api_client_index = ~0,
};
vnet_application_detach (&detach_args);
return 0;
@@ -393,6 +394,7 @@ session_test_endpoint_cfg (vlib_main_t * vm, unformat_input_t * input)
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
+ .api_client_index = ~0,
};
vnet_application_detach (&detach_args);
detach_args.app_index = client_index;
@@ -463,6 +465,7 @@ session_test_namespace (vlib_main_t * vm, unformat_input_t * input)
vnet_app_detach_args_t detach_args = {
.app_index = 0,
+ .api_client_index = ~0,
};
ip4_address_t intf_addr = {
@@ -1562,6 +1565,7 @@ session_test_rules (vlib_main_t * vm, unformat_input_t * input)
vec_free (args.table_args.tag);
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
+ .api_client_index = ~0,
};
vnet_application_detach (&detach_args);
@@ -1677,6 +1681,7 @@ session_test_proxy (vlib_main_t * vm, unformat_input_t * input)
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
+ .api_client_index = ~0,
};
vnet_application_detach (&detach_args);