Updates for 0.5.x

This commit is contained in:
Neil Alexander 2024-06-23 11:36:26 +01:00
parent b58f8e3852
commit 838e37b928
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
4 changed files with 89 additions and 110 deletions

View file

@ -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)
}