mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-04 00:10:52 +00:00
forgot a semicolon in a JNI java type specifier.
This commit is contained in:
parent
dcf1f70868
commit
43b3ec4b1a
@ -710,14 +710,16 @@ jobject newNetworkConfig(JNIEnv *env, const ZT_VirtualNetworkConfig &vnetConfig)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
assignedAddressesField = lookup.findField(vnetConfigClass, "assignedAddresses", "[Ljava/net/InetSocketAddress;");
|
assignedAddressesField = lookup.findField(vnetConfigClass, "assignedAddresses",
|
||||||
|
"[Ljava/net/InetSocketAddress;");
|
||||||
if(env->ExceptionCheck() || assignedAddressesField == NULL)
|
if(env->ExceptionCheck() || assignedAddressesField == NULL)
|
||||||
{
|
{
|
||||||
LOGE("Error getting assignedAddresses field");
|
LOGE("Error getting assignedAddresses field");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
routesField = lookup.findField(vnetConfigClass, "routes", "[Lcom/zerotier/sdk/VirtualNetworkRoute");
|
routesField = lookup.findField(vnetConfigClass, "routes",
|
||||||
|
"[Lcom/zerotier/sdk/VirtualNetworkRoute;");
|
||||||
if(env->ExceptionCheck() || routesField == NULL)
|
if(env->ExceptionCheck() || routesField == NULL)
|
||||||
{
|
{
|
||||||
LOGE("Error getting routes field");
|
LOGE("Error getting routes field");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user