Cleanup WG implementation

This commit is contained in:
Mykola Baibuz 2023-10-18 13:41:58 -04:00
parent c14f1b5000
commit 4ea1a19572
3 changed files with 4 additions and 205 deletions

View file

@ -175,9 +175,8 @@ class OpenVPNThreadv3(var service: VPNService): ClientAPI_OpenVPNClient(), Runna
}
mService.addRoute("2000::", 3)
}
val Fd = mService.establish()!!.detachFd()
return Fd
return mService.establish()!!.detachFd()
}
override fun tun_builder_add_address(address: String , prefix_length: Int , gateway: String , ipv6:Boolean , net30: Boolean ): Boolean {