mirror of
https://github.com/yggdrasil-network/yggdrasil-ios.git
synced 2025-04-28 06:05:09 +03:00
Updates for 0.5.x
This commit is contained in:
parent
b58f8e3852
commit
838e37b928
4 changed files with 89 additions and 110 deletions
|
@ -98,12 +98,12 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
|
|||
completionHandler?(self.yggdrasil.getAddressString().data(using: .utf8))
|
||||
case "subnet":
|
||||
completionHandler?(self.yggdrasil.getSubnetString().data(using: .utf8))
|
||||
case "coords":
|
||||
completionHandler?(self.yggdrasil.getCoordsString().data(using: .utf8))
|
||||
//case "coords":
|
||||
// completionHandler?(self.yggdrasil.getCoordsString().data(using: .utf8))
|
||||
case "peers":
|
||||
completionHandler?(self.yggdrasil.getPeersJSON().data(using: .utf8))
|
||||
case "dht":
|
||||
completionHandler?(self.yggdrasil.getDHTJSON().data(using: .utf8))
|
||||
//case "dht":
|
||||
// completionHandler?(self.yggdrasil.getDHTJSON().data(using: .utf8))
|
||||
default:
|
||||
completionHandler?(nil)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue