mirror of
https://github.com/yggdrasil-network/yggdrasil-ios.git
synced 2025-04-28 14:15:09 +03:00
More updates
This commit is contained in:
parent
5fbb735f56
commit
0bea3a1613
9 changed files with 150 additions and 38 deletions
|
@ -113,9 +113,7 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
|
|||
subnet: self.yggdrasil.getSubnetString(),
|
||||
publicKey: self.yggdrasil.getPublicKeyString(),
|
||||
enabled: true,
|
||||
peers: peers.sorted(by: { a, b in
|
||||
a.remote < b.remote
|
||||
})
|
||||
peers: peers
|
||||
)
|
||||
if let json = try? JSONEncoder().encode(summary) {
|
||||
completionHandler?(json)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue