mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
* Print stack trace on crash * Printing stack trace is fully functional except for WIN32 * Minor fixes * Minor fixes
This commit is contained in:
@@ -116,20 +116,17 @@ void SSDPHandler::handleWebServerStateChange(const bool newState)
|
||||
void SSDPHandler::handleNetworkConfigurationChanged(const QNetworkConfiguration &config)
|
||||
{
|
||||
// get localAddress from interface
|
||||
if(!getLocalAddress().isEmpty())
|
||||
QString localAddress = getLocalAddress();
|
||||
if(!localAddress.isEmpty() && _localAddress != localAddress)
|
||||
{
|
||||
QString localAddress = getLocalAddress();
|
||||
if(_localAddress != localAddress)
|
||||
{
|
||||
// revoke old ip
|
||||
sendAnnounceList(false);
|
||||
// revoke old ip
|
||||
sendAnnounceList(false);
|
||||
|
||||
// update desc & notify new ip
|
||||
_localAddress = localAddress;
|
||||
_webserver->setSSDPDescription(buildDesc());
|
||||
setDescriptionAddress(getDescAddress());
|
||||
sendAnnounceList(true);
|
||||
}
|
||||
// update desc & notify new ip
|
||||
_localAddress = localAddress;
|
||||
_webserver->setSSDPDescription(buildDesc());
|
||||
setDescriptionAddress(getDescAddress());
|
||||
sendAnnounceList(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user