commit | 38bcb56e99774c209e5f61604a4c22839c097e04 | [log] [tgz] |
---|---|---|
author | Marek Gradzki <mgradzki@cisco.com> | Wed Dec 07 08:37:25 2016 +0100 |
committer | Damjan Marion <dmarion.lists@gmail.com> | Wed Dec 07 17:20:02 2016 +0000 |
tree | 0b1657c6f9445b58610360a20babd96e43f0b403 | |
parent | 19c68d2a02770189d32ead3ff964efc073db630a [diff] [blame] |
Make jvpp connection fail if control ping fails Change-Id: Ib57cf97514fb6831f41930d9492e92ad11a3730d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
diff --git a/vpp-api/java/jvpp-registry/jvpp_registry.c b/vpp-api/java/jvpp-registry/jvpp_registry.c index 5d2326a..f7f5561 100644 --- a/vpp-api/java/jvpp-registry/jvpp_registry.c +++ b/vpp-api/java/jvpp-registry/jvpp_registry.c
@@ -216,9 +216,7 @@ 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(