Cleanup WG implementation
This commit is contained in:
parent
c14f1b5000
commit
4ea1a19572
3 changed files with 4 additions and 205 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue