aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-10-25 17:39:23 +0530
committerRoopesh Chander <roop@roopc.net>2018-10-27 19:07:16 +0530
commitf5e5c7f17dfb7e5b485279f286bb427a1cf2a061 (patch)
tree28fad524dda3788b736e0bb819bc6adf12791ede /WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
parentModel: Add a version number to the tunnel (diff)
downloadwireguard-apple-f5e5c7f17dfb7e5b485279f286bb427a1cf2a061.tar.xz
wireguard-apple-f5e5c7f17dfb7e5b485279f286bb427a1cf2a061.zip
Tunnel detail: Fix comment
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift')
-rw-r--r--WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
index 061a8b2..b44be45 100644
--- a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
@@ -96,7 +96,7 @@ extension TunnelDetailTableViewController {
let peerSectionIndex = (section - numberOfInterfaceSections) % numberOfPeerSections
return peerData.filterFieldsWithValueOrControl(peerFields: peerFieldsBySection[peerSectionIndex]).count
} else {
- // Add peer
+ // Delete tunnel
return 1
}
}