mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-31 08:25:38 +00:00
Might help to set the enabled field on a VirtualNetworkConfig object :)
This commit is contained in:
parent
b84dba3ecb
commit
7cc64c5cb6
@ -822,6 +822,7 @@ jobject newNetworkConfig(JNIEnv *env, const ZT1_VirtualNetworkConfig &vnetConfig
|
||||
env->SetBooleanField(vnetConfigObj, dhcpField, vnetConfig.dhcp);
|
||||
env->SetBooleanField(vnetConfigObj, bridgeField, vnetConfig.bridge);
|
||||
env->SetBooleanField(vnetConfigObj, broadcastEnabledField, vnetConfig.broadcastEnabled);
|
||||
env->SetBooleanField(vnetConfigObj, enabledField, vnetConfig.enabled);
|
||||
env->SetIntField(vnetConfigObj, portErrorField, vnetConfig.portError);
|
||||
|
||||
jclass multicastGroupClass = cache.findClass("com/zerotier/sdk/MulticastGroup");
|
||||
|
Loading…
x
Reference in New Issue
Block a user