Use Endpoint in the Configuration model
This commit is contained in:
parent
7482ee8cf5
commit
255b579f4d
|
@ -36,7 +36,7 @@ class PeerConfiguration: Codable {
|
|||
var publicKey: Data
|
||||
var preSharedKey: Data?
|
||||
var allowedIPs: [IPAddressRange] = []
|
||||
var endpoint: String?
|
||||
var endpoint: Endpoint?
|
||||
var persistentKeepAlive: UInt64?
|
||||
init(publicKey: Data) {
|
||||
self.publicKey = publicKey
|
||||
|
|
Loading…
Reference in New Issue