From f73dcba306c0c43464fd992bd89aa79a53aefc0f Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Tue, 18 Aug 2015 09:50:42 +0100 Subject: [PATCH] eliminate spurious warning when --ipalloc-range="" Fixes #1320. --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index 16ded68c..55c230ce 100755 --- a/weave +++ b/weave @@ -1101,7 +1101,7 @@ launch_router() { exit 1 fi else - if command_exists netcheck && ! netcheck --ignore-iface=$BRIDGE $IPRANGE ; then + if [ -n "$IPRANGE" ] && command_exists netcheck && ! netcheck --ignore-iface=$BRIDGE $IPRANGE ; then echo "WARNING: Specified --ipalloc-range $IPRANGE overlaps with existing route on host." >&2 echo "Unless this is deliberate, you must pick another range and set it on all hosts." >&2 fi