ha: Fix assignment of IP addresses if multiple pools are defined

Fixes #2146.
This commit is contained in:
Tobias Brunner
2017-01-25 12:28:34 +01:00
parent 0e3c8cc4a2
commit 4e382f5ffc
+6 -2
View File
@@ -215,8 +215,12 @@ METHOD(attribute_provider_t, acquire_address, host_t*,
}
if (offset == -1)
{
DBG1(DBG_CFG, "no address left in HA pool '%s' belonging to"
"a responsible segment", name);
DBG1(DBG_CFG, "no address belonging to a responsible segment left "
"in HA pool '%s'", name);
}
else
{
break;
}
}
this->mutex->unlock(this->mutex);