summaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/echo_server.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-02-16 07:32:22 -0800
committerDave Barach <openvpp@barachs.net>2021-02-16 18:24:46 +0000
commit0a5b4c3fbfa1ec0699bc21b12a984836aadaa442 (patch)
tree1c9dfd2a95052845f0b3136961714a64a36f30ad /src/plugins/hs_apps/echo_server.c
parentc2e7e4143ae662cd2426c322c2a85246eeefca1f (diff)
hsa: coverity fix
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I30fde452fdeeb9877f3e3fecb0dd723f10f61019
Diffstat (limited to 'src/plugins/hs_apps/echo_server.c')
-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);