3
0
Fork 0

Add logLocalTZ to Site.swift

This commit is contained in:
micha3lbrown 2021-01-14 16:54:08 -05:00
parent affdc8a7bb
commit 12e146fff2
No known key found for this signature in database
GPG Key ID: 3F02D82B487AD431
2 changed files with 5 additions and 1 deletions

View File

@ -150,6 +150,7 @@ struct Site: Codable {
var mtu: Int var mtu: Int
var cipher: String var cipher: String
var sortKey: Int var sortKey: Int
var logLocalTZ: Bool?
var logVerbosity: String var logVerbosity: String
var connected: Bool? var connected: Bool?
var status: String? var status: String?
@ -238,6 +239,7 @@ struct Site: Codable {
port = incoming.port port = incoming.port
cipher = incoming.cipher cipher = incoming.cipher
sortKey = incoming.sortKey ?? 0 sortKey = incoming.sortKey ?? 0
logLocalTZ = incoming.logLocalTZ ?? false
logVerbosity = incoming.logVerbosity ?? "info" logVerbosity = incoming.logVerbosity ?? "info"
mtu = incoming.mtu ?? 1300 mtu = incoming.mtu ?? 1300
logFile = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.net.defined.mobileNebula")?.appendingPathComponent(id).appendingPathExtension("log").path logFile = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.net.defined.mobileNebula")?.appendingPathComponent(id).appendingPathExtension("log").path
@ -284,6 +286,7 @@ struct Site: Codable {
case status case status
case logFile case logFile
case unsafeRoutes case unsafeRoutes
case logLocalTZ
case logVerbosity case logVerbosity
case errors case errors
case mtu case mtu
@ -314,6 +317,7 @@ struct IncomingSite: Codable {
var mtu: Int? var mtu: Int?
var cipher: String var cipher: String
var sortKey: Int? var sortKey: Int?
var logLocalTZ: Bool?
var logVerbosity: String? var logVerbosity: String?
var key: String? var key: String?

View File

@ -109,4 +109,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: e8d4fb1ed5b0713de2623a28dfae2585e15c0d00 PODFILE CHECKSUM: e8d4fb1ed5b0713de2623a28dfae2585e15c0d00
COCOAPODS: 1.9.0 COCOAPODS: 1.10.0