Use Endpoint in the Configuration model
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
c12f481b70
commit
3331327d82
|
@ -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