added Host, Snapcast and Config to Client json

This commit is contained in:
badaix 2016-03-06 13:48:44 +01:00
parent d8e23fadac
commit 8ddf928b9a
3 changed files with 167 additions and 52 deletions

View file

@ -84,7 +84,7 @@ ClientInfoPtr Config::getClientInfo(const std::string& macAddress, bool add)
for (auto client: clients)
{
if (client->macAddress == macAddress)
if (client->host.mac == macAddress)
return client;
}