Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej Mihajlov committed Oct 11, 2023
1 parent 5247ce6 commit e8b4974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion ios/MullvadVPN/TunnelManager/Tunnel+Messaging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ private let proxyRequestTimeout = REST.defaultAPINetworkTimeout + 2

extension Tunnel {
/// Request packet tunnel process to reconnect the tunnel with the given relay.
/// Packet tunnel will reconnect to the current relay if relay is not provided.
func reconnectTunnel(
to nextRelay: NextRelay,
completionHandler: @escaping (Result<Void, Error>) -> Void
Expand Down
5 changes: 2 additions & 3 deletions ios/PacketTunnelCore/IPC/PacketTunnelOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ import Foundation
public struct PacketTunnelOptions {
/// Keys for options dictionary
private enum Keys: String {
/// Option key that holds serialized`SelectedRelay` value encoded using `JSONEncoder`.
/// Option key that holds serialized `SelectedRelay` value encoded using `JSONEncoder`.
/// Used for passing the pre-selected relay in the GUI process to the Packet tunnel process.
case selectedRelay = "selected-relay"

/// Option key that holds the `NSNumber` value, which is when set to `1` indicates that
/// the tunnel was started by the system.
/// Option key that holds an `NSNumber` value, which is when set to `1` indicates that the tunnel was started by the system.
/// System automatically provides that flag to the tunnel.
case isOnDemand = "is-on-demand"
}
Expand Down

0 comments on commit e8b4974

Please sign in to comment.