summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vpp-api/java/jvpp-registry/jvpp_registry.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/vpp-api/java/jvpp-registry/jvpp_registry.c b/vpp-api/java/jvpp-registry/jvpp_registry.c
index 5d2326a0aa3..f7f5561910a 100644
--- a/vpp-api/java/jvpp-registry/jvpp_registry.c
+++ b/vpp-api/java/jvpp-registry/jvpp_registry.c
@@ -216,9 +216,7 @@ static int connect_to_vpe(char *name) {
vl_api_control_ping_reply_t_print,
sizeof(vl_api_control_ping_reply_t), 1);
- send_initial_control_ping();
-
- return 0;
+ return send_initial_control_ping();
}
JNIEXPORT jobject JNICALL Java_io_fd_vpp_jvpp_VppJNIConnection_clientConnect(