zeroconf updates (#421)

* zeroconf:
add ip
make names more uniq

* tune dns name for webconfig
This commit is contained in:
redPanther
2017-03-22 23:08:01 +01:00
committed by GitHub
parent 0d996d6d10
commit a08e951762
7 changed files with 14 additions and 19 deletions

View File

@@ -505,6 +505,7 @@ void Hyperion::bonjourRecordResolved(const QHostInfo &hostInfo, int port)
}
_hyperionSessions[_bonjourCurrentServiceToResolve].hostName = host;
_hyperionSessions[_bonjourCurrentServiceToResolve].port = port;
_hyperionSessions[_bonjourCurrentServiceToResolve].address = hostInfo.addresses().isEmpty() ? "" : hostInfo.addresses().first().toString();
Debug(_log, "found hyperion session: %s:%d",QSTRING_CSTR(hostInfo.hostName()), port);
}
}