]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
iOS: Make it compile again
authorRoopesh Chander <roop@roopc.net>
Thu, 31 Jan 2019 12:47:04 +0000 (18:17 +0530)
committerRoopesh Chander <roop@roopc.net>
Thu, 31 Jan 2019 12:47:04 +0000 (18:17 +0530)
Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/UI/iOS/ViewController/TunnelEditTableViewController.swift

index 02328af275e6252a785d0f9f4d557c1310533820..f4bf1579c8af739b4de2ec8648fe83d682b8d19a 100644 (file)
@@ -351,6 +351,8 @@ extension TunnelEditTableViewController {
             cell.keyboardType = .numberPad
         case .excludePrivateIPs, .deletePeer:
             cell.keyboardType = .default
+        case .rxBytes, .txBytes, .lastHandshakeTime:
+            fatalError()
         }
 
         cell.isValueValid = !peerData.fieldsWithError.contains(field)