From 167f5ce55f937ee7de598a45718dd736b303be26 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Tue, 30 Oct 2018 13:46:10 +0530 Subject: [PATCH] Tunnel view model: IP address can be specified without '/cidr' --- WireGuard/WireGuard/UI/TunnelViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WireGuard/WireGuard/UI/TunnelViewModel.swift b/WireGuard/WireGuard/UI/TunnelViewModel.swift index d070717..fe50cbc 100644 --- a/WireGuard/WireGuard/UI/TunnelViewModel.swift +++ b/WireGuard/WireGuard/UI/TunnelViewModel.swift @@ -120,7 +120,7 @@ class TunnelViewModel { addresses.append(address) } else { fieldsWithError.insert(.addresses) - errorMessages.append("Interface addresses should be a list of comma-separated IP addresses in CIDR notation") + errorMessages.append("Interface addresses should be a list of comma-separated IP addresses") } } config.addresses = addresses