diff --git a/src/Vehicle/Vehicle.cc b/src/Vehicle/Vehicle.cc index cd12a23557a9813a092bdb574269ec631beb63b0..9dce5244b5778d62c96232cbb8b2c6dc40799fd8 100644 --- a/src/Vehicle/Vehicle.cc +++ b/src/Vehicle/Vehicle.cc @@ -2508,7 +2508,10 @@ void Vehicle::_linkActiveChanged(LinkInterface *link, bool active, int vehicleID 1); // Request protocol version } } else if (!active && !_connectionLost) { - if (_connectionLostEnabled) { + _updatePriorityLink(false /* updateActive */, false /* sendCommand */); + + // check if another active link has been found + if (link == _priorityLink) { _connectionLost = true; communicationLost = true; _heardFrom = false;