From 3e4f7358a73a665878183d16894455ccdb02bfe5 Mon Sep 17 00:00:00 2001 From: David Wragg Date: Tue, 12 May 2015 15:48:33 +0100 Subject: [PATCH] Mention "CIDR notation" rather than "CIDR" in error message It's more web-searchable. --- weave | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weave b/weave index 7e52674f..b85d6200 100755 --- a/weave +++ b/weave @@ -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 /, e.g. 10.2.1.1/24" >&2 + echo "Invalid address prefix: $1" >&2 + echo "Must be in CIDR notation /, e.g. 10.2.1.1/24" >&2 exit 1 fi }