diff options
author | Matej Perina <mperina@cisco.com> | 2017-09-21 17:03:27 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-09-27 20:55:50 +0000 |
commit | 75a17ecddc9dc579a3aecfc5b53cbb60e993965f (patch) | |
tree | 6a744ee248063303ce1b60a3f92130a0e0b167de /src/vpp-api/java | |
parent | a4980b8f3e53bd0917c75910938fbb077105821f (diff) |
VPP-990 remove registered handler if control ping failsv18.01-rc0
Change-Id: I5ca5763f0dc0a73cc6f014b855426b7ac180f356
Signed-off-by: Matej Perina <mperina@cisco.com>
Diffstat (limited to 'src/vpp-api/java')
-rw-r--r-- | src/vpp-api/java/jvpp-registry/jvpp_registry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vpp-api/java/jvpp-registry/jvpp_registry.c b/src/vpp-api/java/jvpp-registry/jvpp_registry.c index e8264cbfca3..c90822d7262 100644 --- a/src/vpp-api/java/jvpp-registry/jvpp_registry.c +++ b/src/vpp-api/java/jvpp-registry/jvpp_registry.c @@ -239,6 +239,7 @@ static int send_initial_control_ping() { } if (rv != 0) { + vl_msg_api_clean_handlers(rm->control_ping_reply_msg_id); clib_warning("first control ping failed: %d", rv); } return rv; |