Mention "CIDR notation" rather than "CIDR" in error message

It's more web-searchable.
This commit is contained in:
David Wragg committed 2015-05-12 15:48:33 +01:00
1 parent 9195894d2a
commit 3e4f7358a7
1 file changed
+2 -2
+2 -2
View File
@@ -84,8 +84,8 @@ is_cidr() {
validate_cidr() {
if ! is_cidr "$1" ; then
echo "Invalid CIDR: $1" >&2
echo "CIDR must be of the form <ip_address>/<routing_prefix_length>, e.g. 10.2.1.1/24" >&2
echo "Invalid address prefix: $1" >&2
echo "Must be in CIDR notation <ip_address>/<prefix_length>, e.g. 10.2.1.1/24" >&2
exit 1
fi
}