Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
jvpp: stop plugin intialization on first mismatch
[vpp.git]
/
src
/
vpp-api
/
java
/
jvpp-gtpu
/
jvpp_gtpu.c
diff --git
a/src/vpp-api/java/jvpp-gtpu/jvpp_gtpu.c
b/src/vpp-api/java/jvpp-gtpu/jvpp_gtpu.c
index
12b3090
..
286a9ce
100644
(file)
--- a/
src/vpp-api/java/jvpp-gtpu/jvpp_gtpu.c
+++ b/
src/vpp-api/java/jvpp-gtpu/jvpp_gtpu.c
@@
-54,7
+54,7
@@
JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_gtpu_JVppGtpuImpl_init0
// verify API has not changed since jar generation
#define _(N) \
- get_message_id(env, #N); \
+ if (get_message_id(env, #N) == 0) return;
foreach_supported_api_message;
#undef _