summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/hs_apps/echo_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/hs_apps/echo_server.c b/src/plugins/hs_apps/echo_server.c
index 1c4022537ba..da79cb40745 100644
--- a/src/plugins/hs_apps/echo_server.c
+++ b/src/plugins/hs_apps/echo_server.c
@@ -377,6 +377,7 @@ echo_server_detach (void)
int rv;
da->app_index = esm->app_index;
+ da->api_client_index = ~0;
rv = vnet_application_detach (da);
esm->app_index = ~0;
vnet_app_del_cert_key_pair (esm->ckpair_index);