Tunnel view model: IP address can be specified without '/cidr'
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -120,7 +120,7 @@ class TunnelViewModel {
|
|||||||
addresses.append(address)
|
addresses.append(address)
|
||||||
} else {
|
} else {
|
||||||
fieldsWithError.insert(.addresses)
|
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
|
config.addresses = addresses
|
||||||
|
|||||||
Reference in New Issue
Block a user