forked from core/mobile_nebula
Add logLocalTZ to Site.swift
This commit is contained in:
parent
affdc8a7bb
commit
12e146fff2
|
@ -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?
|
||||||
|
|
||||||
|
|
|
@ -109,4 +109,4 @@ SPEC CHECKSUMS:
|
||||||
|
|
||||||
PODFILE CHECKSUM: e8d4fb1ed5b0713de2623a28dfae2585e15c0d00
|
PODFILE CHECKSUM: e8d4fb1ed5b0713de2623a28dfae2585e15c0d00
|
||||||
|
|
||||||
COCOAPODS: 1.9.0
|
COCOAPODS: 1.10.0
|
||||||
|
|
Loading…
Reference in New Issue