Fix terminology in error message.
Also removed hint on usage, because `-iprange` is on by default.
This commit is contained in:
1 parent
c45b586a44
commit
ff838a14d9
1 file changed
+1
-1
@@ -821,7 +821,7 @@ ipam_cidrs() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
if [ "$CIDR" = "404 page not found" ] ; then
|
if [ "$CIDR" = "404 page not found" ] ; then
|
||||||
echo "IP address allocation must be enabled to use --subnet (use the -iprange option on 'weave launch')" >&2
|
echo "IP address allocation must be enabled to use 'net:'" >&2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
if ! is_cidr "$CIDR" ; then
|
if ! is_cidr "$CIDR" ; then
|
||||||
|
|||||||
Reference in new issue
Block a user