Reorder XOR field

This commit is contained in:
Davide De Rosa 2021-07-23 18:08:45 +02:00
parent 2ce371c537
commit 4f95561d0d
2 changed files with 4 additions and 4 deletions

View File

@ -121,9 +121,9 @@ class ConfigurationViewController: UIViewController, StrongTableHost {
model.add(.compression)
model.add(.tls)
model.add(.other)
model.set([.cipher, .digest], forSection: .communication)
model.set([.cipher, .digest, .xorMask], forSection: .communication)
model.set([.compressionFraming, .compressionAlgorithm], forSection: .compression)
model.set([.keepAlive, .renegSeconds, .randomEndpoint, .xorMask], forSection: .other)
model.set([.keepAlive, .renegSeconds, .randomEndpoint], forSection: .other)
}
if isEditable {
model.set([.resetOriginal], forSection: .reset)

View File

@ -64,6 +64,7 @@ class ConfigurationViewController: NSViewController, ProfileCustomization {
private let rows: [RowType] = [
.cipher,
.digest,
.xorMask,
.compressionFraming,
.compressionAlgorithm,
.client,
@ -71,8 +72,7 @@ class ConfigurationViewController: NSViewController, ProfileCustomization {
.eku,
.keepAlive,
.renegSeconds,
.randomEndpoint,
.xorMask
.randomEndpoint
]
private var rowMenus: [RowType: NSMenu] = [:]