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

View File

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