eliminate spurious warning when --ipalloc-range=""

Fixes #1320.
This commit is contained in:
Matthias Radestock committed 2015-08-18 09:50:42 +01:00
1 parent acde6cb0ee
commit f73dcba306
1 file changed
+1 -1
+1 -1
View File
@@ -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