From 6fec40125232253b9cca9405c3db78c01a721639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sat, 26 Dec 2020 11:32:58 +0100 Subject: [PATCH] Update discovered state in DiscoveryManager --- switch/src/discoverymanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/switch/src/discoverymanager.cpp b/switch/src/discoverymanager.cpp index b5f8b8c..7f71578 100644 --- a/switch/src/discoverymanager.cpp +++ b/switch/src/discoverymanager.cpp @@ -183,6 +183,7 @@ void DiscoveryManager::DiscoveryCB(ChiakiDiscoveryHost * discovered_host) CHIAKI_LOGI(this->log, "State: %s", chiaki_discovery_host_state_string(discovered_host->state)); host->state = discovered_host->state; + host->discovered = true; // add host ptr to list if(discovered_host->system_version && discovered_host->device_discovery_protocol_version)